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.

column index by name

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 03:34 AM


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.

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.

;