Results 1 to 3 of 3

Thread: Hiding fields of a datagrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    8

    Hiding fields of a datagrid

    I was wondering whether it is possible to have a select statement where you select all the fields, but then later hide some of the fields using a datagrid?
    Thanks,
    Rachel

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Why don't you have two sql statements , one to select all fileds and the other one for some fields to show in the Grid.

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Use a dataview to filter the results in the datagrid, then bind the datagrid to the dataview instead of directly to the dataset.

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