I am doing the task of importing xls file to sql server 2008 using c#, the xls file contains 3 column (ProductCode = having alphanumeric values,Productname = having string values, Categoryids = having alphanumeric values) in xls file.
When I am importing the xls through my code it reads Productname,Categoryids but ProductCode with only numeric values, it can not read the codes which containing characters.
eg : sample column values productcode -30-sunscreen-250ml, 04 5056, 045714PC, 10-cam-bag-pouch-navy-dot, 100102
I reads 100102, but it can not reads the [045714PC,04 5056,-30-sunscreen-250ml,10-cam-bag-pouch-navy-dot]
Please suggest any solutions.
Thanks