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.
Up arrow icon