Results 1 to 2 of 2

Thread: Filter DataTable

  1. #1

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    Question Filter DataTable

    Hi

    VB Code:
    1. dtOrderDetails.Select("OrderID=" & drOrder("OrderID"))
    2. grdDetails.DataSource = dtOrderDetails

    dtOrderDetails is DataTable

    Above code is not working, where i am wrong.

  2. #2
    Addicted Member
    Join Date
    Apr 2004
    Location
    Lagos, Nigeria
    Posts
    215
    How is the code not working? No row returned or grdDetails does not display the filtered rows? I guess grdDetails is a datagrid. If so does it have any tablestyle defined [that is apart from the default]? What about column mapping between the table and grdDetails.

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