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.

How to convert AlphaLabel to Column Number?

Thread ID:

Created:

Updated:

Platform:

Replies:

24773 Feb 10,2005 11:21 AM Feb 10,2005 06:51 PM Windows Forms 1
loading
Tags: GridControl
Cyle Nelson
Asked On February 10, 2005 11:21 AM

I have a string variable with a cell reference like "C10". Is there a simple function to extract the row/column number from the cell reference? I am looking for the reverse of the GridRangeInfo GetAlphaLabel and GetNumericLabel functions.

Administrator [Syncfusion]
Replied On February 10, 2005 06:51 PM

Use GridRangeInfo range = GridRangeInfo.Parse("C10"); int col = range.Top; Stefan >I have a string variable with a cell reference like "C10". Is there a simple function to extract the row/column number from the cell reference? > >I am looking for the reverse of the GridRangeInfo GetAlphaLabel and GetNumericLabel functions.

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.

;