codeice / linqtoexcel

Automatically exported from code.google.com/p/linqtoexcel
0 stars 0 forks source link

699001051 after import change to 6.99001e+008 ,i don't want this,i just want a string type,how? #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
ID        NAME
699001051 ProductName
699001052 ProductName2

 var excel = new ExcelQueryFactory(p);
 var importProducts = from c in excel.Worksheet<TempProduct>(0)
                                     select c;

when i check the 'importProducts' List,the ID changed to '6.99001e+008',i just 
want the string '699001051' ,how can i do?

Original issue reported on code.google.com by seesea...@gmail.com on 6 May 2013 at 6:53