Problem while reading excel file with mix datatypes

G

Guest

Hii

I am reading one excel file that has one column with numbers and text in it

I am reading excel file using oledb with connection string a

Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;" &
"Data Source=" & fileName & "; Extended Properties=Excel 8.0;

now using DataReader i m reading one column that has data a
0.03,0.04,aa,0.0

But while printing i m not getting value "aa"...Why So

Kindly help me to solve thi

Thank
Pauravi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top