Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Issue in reading the Excel sheet Data in C#

$
0
0

I’ve a Excel sheet which will have data in column A.

Like:

78987

78988

78989

78990

78991

78992

78993

78994

78995

78996

78J97

78J98

78J99

 

I’m looping through the column and fetching each and every single cell and storing in a text file. Reading every single cell as string.

What happens is after exactly 10 rows .Net/Excel understands the 11’th row as numeric and fails to process, I get empty line in my text file.

The same works fine if the data like:

78987

78988

78989

78990

78992

78993

78994

78995

78996

78J97

78J98

78J99

This contains only 9 rows of numeric. I’m wondering how .Net/Excel artificial intelligence.

Anyone can you please help on this request.


Vijay


Viewing all articles
Browse latest Browse all 31927

Trending Articles