search record in a table

  • Thread starter Thread starter HS1
  • Start date Start date
H

HS1

Hello

To present (and manipulate) data in a table, I use an DataGrid and a DataSet
"ds"

DataGrid1.DataSource = ds

However, to search a record in this DataGrid, I have to use DataView "dv"

DataGrid1.DataSource = dv
int = dv.Find (.......)

Can I use only one of them for both searching and manipulating data for a
table

Thank you very much
Best regards
S.Hoa
 
S. Hoa,

I think that the most easiest way is to get your row is to create another
(extra) dataview.

A dataview is just a filter on your table.

There is no dataview find, because that belongs to the datarowcollection.

Use on that other dataview the rowfilter what is very easy to use. Possible
is as well the datatable.select. Beneath in another message I have send the
links of explanations for all those to somebody else.

http://groups.google.com/[email protected]

I hope this helps?

Cor
 
Cor, I think you are mistaken. A dataview has a find method, it works on the
sorted column(s).
Frank
 
Back
Top