Get Exact column value from an excel

Hi

Hope the below expression would help you get the column name

For AA1, AA2, AA3,……

Same with a little change in expression

Convert.ToChar( (65 + dt.Columns.IndexOf("Columnname") ) - 26).ToString + (dt.Rows.IndexOf(CurrentRow)+2).ToString

(Output will be “AA1”, “AA2”,…. String type)

Refer this thread for complete details

Cheers @karthikeyan.srinivasan9