Results 1 to 3 of 3

Thread: Only Displaying Some Columns....

  1. #1

    Thread Starter
    Junior Member RvA's Avatar
    Join Date
    Oct 2002
    Location
    USA
    Posts
    19

    Only Displaying Some Columns....

    Hello All,

    Just a quick question. How can I tell a datagrid to display only a few of the columns from my datatable? I'm sure there is a simple way of doing this but I'll be damned if I can find it.


    Oh the humanity!!!

    Thanks in advance
    Best,

    Roger

    VB6.0 SR5 & VB.Net Pro
    -----------------------------------------------
    Do or do not, there is no try!

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    You will have to explicity define your custom colums for the datagrid. Right click on the control, and navigate to the properties. You should see a check box that I believe you un-check and then you can specify which columns (fields) to display in your grid.

  3. #3

    Thread Starter
    Junior Member RvA's Avatar
    Join Date
    Oct 2002
    Location
    USA
    Posts
    19
    Ok I'll check into this thanks
    Best,

    Roger

    VB6.0 SR5 & VB.Net Pro
    -----------------------------------------------
    Do or do not, there is no try!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width