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

column index by name

Thread ID:

Created:

Updated:

Platform:

Replies:

75989 Aug 19,2008 11:24 AM UTC Aug 20,2008 07:34 AM UTC WinForms 1
loading
Tags: GridControl
Adrian Cannon NO LONGER WITH COMPANY
Asked On August 19, 2008 11:24 AM UTC

I have a column that can move depending on the grid content. I know its name, I need to be able to determine its location so I can get its value (I know the row index already)


Nisha Arockiya A [Syncfusion]
Replied On August 20, 2008 07:34 AM UTC


Hi Adrian,

Thanks for your interest in Syncfusion products.

Knowing the ColumnName and RowIndex you can use the following code to get corresponding CellValue.

MessageBox.Show(this.theDataGridView.Rows[RowIndex].Cells[ColumnName].Value.ToString());


Please let me any clarifications.

Regards,
Nisha
>I have a column that can move depending on the grid content. I know its name, I need to be able to determine its location so I can get its value (I know the row index already)




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.

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

;