Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

How can I loop through the rows in a datagrid ( I want to deselect the rows )?

 

Is it easy to get the underlying row from a datarow in a datatable to the row in the datagrid?

 

thanks / Henrik

Posted (edited)

Take a look at question 5.4 on the Syncfusion DataGrid FAQ at: http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q1096q

Use the same thing but, with the Unselect method...

 

On the same FAQ, search for:

5.63 How do I iterate through all the rows and columns in my datagrid?

 

5.78 How do I retrieve the current row from a DataTable bound to a DataGrid after the grid has been sorted?

 

 

Bookmark this page... as DataGrid being as bad as it can be, it's good to have this on hand...

 

Alex :p

Edited by AlexCode
Software bugs are impossible to detect by anybody except the end user.

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...