i have 45 Columns of data in that datatable have 6 date columns… i want convert the date format based on the columns name…
Getting Error : Assign: String ‘13-04-2023’ was not recognized as a valid DateTime.Couldn’t store <13-04-2023> in Order Date Column. Expected type is DateTime.
U r Right… excel activities we can able to change it.
i am using huge data so that i want know linq query is best and fastest method to process the datas… After convert the date conversion all the data are inserted into sql server. all process are completed except this datetime conversion issue…
The error shows datatype of the target column is DateTime. As DateTime type cannot have date format, it’s difficult to store it as “dd-MM-yyyy” style except changing datatype of the column to String etc.