Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

  • *Experts*
Posted

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

"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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...