how to read an excel file and change its column data type to string
right now i have an excel sheet with column no :10
the data there is been displayed like this
1/5/2010
6/12/2010
i need to change into this format “dd-MM-yyyy”
so that it displays like this.
01-05-2010
06-12-2010
can any one please tel me how to do this.
any help would be really great
it reads and update the excel file.before doing this do the following steps
1.Rightclick solution explorer,then select Add Reference
2.select Microsoft.Office.interop.Excel in .Net Tab
3. Add this line in your code (i.e) in the NameSpace: