I have a excel template am taking it in a datatable i want to read the datatable and save it in database
my problem is data is not well aligned i want to insert data number wise for eg set of 1 number data then process number 2 data. i have two tables one for saving training details and other for participant
var dtsel = dataTable.Select();
i want to process this dtsel datatable.
i want to read the datatable and save it in database
my problem is data is not well aligned
Then just go ahead and align your data in excel...
One way to do so would be:
5. Now you can easily import the excel sheet to SQL server, MY SQL or other databases with built in tools
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.