Results 1 to 2 of 2

Thread: Row filter

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Posts
    18

    Row filter

    Hi I've tried this code to filter my records.

    DataSet11.Products.DefaultView.RowFilter = "ProductName like '" & txtFilter.Text & "%'"

    The DataGrid DataSource property is: Dataset11
    and its DataMemeber is: Products

    I don't if the problem is the code the my DataGrid.

    Any idea to solve this problem?

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Re-bind the datagrid.

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