We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

searching dataSet

I hace a dataSet with tables. I would like to search some table with textBox and then put a result into grid.

1 Reply

AD Administrator Syncfusion Team February 17, 2005 04:23 PM UTC

Create a DataView, dv, on the Datatable. Set the dv.RowFilter to filter the DataTable, leaving only the rows that satisfy the filter, maybe something like: dv.RowFilter = "[Col1] like ''" + textBox1.Text + "*"; Then set grid.DataSource = dv.

Loader.
Live Chat Icon For mobile
Up arrow icon