nazli Posted September 20, 2003 Posted September 20, 2003 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. Quote
*Experts* Nerseus Posted September 22, 2003 *Experts* Posted September 22, 2003 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 Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.