Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. datagrid

datagrid

Scheduled Pinned Locked Moved Visual Basic
databasehelptutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nilam11
    wrote on last edited by
    #1

    hello i have generated one datagrid using dataset having columns user_id,initial,passwd,access etc. From these i am displaying only 3 columns my query is - select user_id as user,user_init as inital,user_nm as name from user_mast but i am facing one problem i.e. after adding new record in dataset my datagrid is displaying all columns including passwd also which is not to be shown. Pliz. guide me how i solve this problem? thanks

    reply immediate thanks

    M K 2 Replies Last reply
    0
    • N nilam11

      hello i have generated one datagrid using dataset having columns user_id,initial,passwd,access etc. From these i am displaying only 3 columns my query is - select user_id as user,user_init as inital,user_nm as name from user_mast but i am facing one problem i.e. after adding new record in dataset my datagrid is displaying all columns including passwd also which is not to be shown. Pliz. guide me how i solve this problem? thanks

      reply immediate thanks

      M Offline
      M Offline
      mghiassi
      wrote on last edited by
      #2

      Hi, You should set AutoGenerateColumn to False

      1 Reply Last reply
      0
      • N nilam11

        hello i have generated one datagrid using dataset having columns user_id,initial,passwd,access etc. From these i am displaying only 3 columns my query is - select user_id as user,user_init as inital,user_nm as name from user_mast but i am facing one problem i.e. after adding new record in dataset my datagrid is displaying all columns including passwd also which is not to be shown. Pliz. guide me how i solve this problem? thanks

        reply immediate thanks

        K Offline
        K Offline
        klaydze
        wrote on last edited by
        #3

        hi, try to insert a query again using select statement after you add your record. to show specific column you want to show.

        Don't block the drive way of all the newbies in programming. :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups