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.
Unfortunately, activation email could not send to your email. Please try again.

Row Information required after selecting row

Thread ID:

Created:

Updated:

Platform:

Replies:

33021 Aug 11,2005 08:44 AM Aug 11,2005 10:26 AM Windows Forms 1
loading
Tags: GridControl
Vinay
Asked On August 11, 2005 08:44 AM

How can i get the row information On selection of a row using row header.

Administrator [Syncfusion]
Replied On August 11, 2005 10:26 AM

If this is a GridDataBoundGrid, there are many ways to go about this. One way is to use the RowEnter event. private void gridDataBoundGrid1_RowEnter(object sender, GridRowEventArgs e) { int colIndex = this.gridDataBoundGrid1.Binder.NameToColIndex("pkName"); object val = this.gridDataBoundGrid1[e.RowIndex, colIndex].CellValue; }

CONFIRMATION

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.

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.

;