c# Programming Glossary: ichar
Convert A to 1 B to 2 … Z to 26 and then AA to 27 AB to 28 (column indexes to column references in Excel) http://stackoverflow.com/questions/1951517/convert-a-to-1-b-to-2-z-to-26-and-then-aa-to-27-ab-to-28-column-indexes-to column int retVal 0 string col column.ToUpper for int iChar col.Length 1 iChar 0 iChar char colPiece col iChar int colNum.. 0 string col column.ToUpper for int iChar col.Length 1 iChar 0 iChar char colPiece col iChar int colNum colPiece 64 retVal.. col column.ToUpper for int iChar col.Length 1 iChar 0 iChar char colPiece col iChar int colNum colPiece 64 retVal retVal..
Fastest function to generate Excel column letters in C# http://stackoverflow.com/questions/837155/fastest-function-to-generate-excel-column-letters-in-c-sharp column int retVal 0 string col column.ToUpper for int iChar col.Length 1 iChar 0 iChar char colPiece col iChar int colNum.. 0 string col column.ToUpper for int iChar col.Length 1 iChar 0 iChar char colPiece col iChar int colNum colPiece 64 retVal.. col column.ToUpper for int iChar col.Length 1 iChar 0 iChar char colPiece col iChar int colNum colPiece 64 retVal retVal..
|