majkinetor
Programmer
Hi there.
My DataTable is loaded with some Excell Sheet wich have DateTime column. When I open excell file I see what user have enter in format day.month.year but when I export this table via WriteXML this date is changed to some other format + it added time component wich was originaly absent.
I need to keep original input. How can I change this behavior.
I tried to create another table and set it columns to string type and then import rows of original table (the one loaded from Excell) but the data was changed during SELECT * statement when I was loading xls to DataSet so nothing was fixed, but the format was little different at the end.
Can I somehow specify witch format for DateTime WriteXML should use ? MAybe something about IFormatProvider ?
Thx
My DataTable is loaded with some Excell Sheet wich have DateTime column. When I open excell file I see what user have enter in format day.month.year but when I export this table via WriteXML this date is changed to some other format + it added time component wich was originaly absent.
I need to keep original input. How can I change this behavior.
I tried to create another table and set it columns to string type and then import rows of original table (the one loaded from Excell) but the data was changed during SELECT * statement when I was loading xls to DataSet so nothing was fixed, but the format was little different at the end.
Can I somehow specify witch format for DateTime WriteXML should use ? MAybe something about IFormatProvider ?
Thx