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. Image for the cookie policy date

How to convert AlphaLabel to Column Number?

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.

1 Reply

AD Administrator Syncfusion Team February 10, 2005 11:51 PM UTC

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.

Loader.
Up arrow icon