find row in dataset

nazli

Newcomer
Joined
Sep 20, 2003
Messages
1
Hello,

I have a datagrid and I bind it to a dataset .

I 'd like to find a special row by type on the cell and pointer of datagrid show that row as findrow method in vsflex7.

How can I do it?

Please help me?

Regards,

Nazli.
 
Do you want to find a row/cell by some data value and highlight that cell? In other words, find a row where Col1 = 'some value' and then locate column x and highlight it?

You can use the Find method of a DataView to get a row by index. If you just need a reference to the Row and Column (and not in particular where that value is in the grid), you can use the DataTable's Select method which returns a DataRow array.

-Ner
 
Back
Top