1
Reply

Prob in reading data from excel datasource using C#

Abhay Mhatre

Abhay Mhatre

Sep 17 2008 2:49 PM
3.8k
Hello Friends,

I am trying to read isbn number from excel data file. My problem is some isbn numbers start from 0 but when I read them using C# 0 get truncated.
Can any one suggest me a way, such that I can read them as string input. So that I can get whole isbn number value, even though it starts from 0.
for example,

if I have following row in excel file

ISBN = 0894478303
Title = bbbbb
.
.
.

When I read this content using C#
I get ISBN as 894478303

I want to get whole ISBN as it is in excel file i.e. 0894478303

Please help me out

Thank you in advanced,
Abhay


Answers (1)