We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

selected row

Thread ID:





42531 Mar 30,2006 06:51 PM UTC Mar 31,2006 05:16 AM UTC WinForms 1
Tags: GridControl
Hrvoje Voda
Asked On March 30, 2006 06:51 PM UTC

How to get currently selected row? I want to put it''s information into dialog editor. I''m using GridDataBoundGrid control.

Administrator [Syncfusion]
Replied On March 31, 2006 05:16 AM UTC

Hi Hrcko,

You can get the selected rows by using GetSelectedRow method in grid.Model.Selections. Below is the code snippet.
private void button1_Click(object sender, System.EventArgs e)
if(this.gridDataBoundGrid1.Selections.Ranges.Info != "")
if(this.gridDataBoundGrid1.Selections.GetSelectedRows(true,true).Count > 0)

Relevant KB articles:
How to get the selected ranges in a grid?
How do I access the cell values for all the selected rows?
Let us know if this helps.

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon