You have to crete the table manually (perhaps by inspecing first row's
column types), but you can import data easily using DataTable.Rows.Add and
passing object array for a row at a time.
Thank you Miha! I could see the DataTable.Rows.Add requirement. I will
figure out now to create the table manually. -hazz
Miha Markic said:
You have to crete the table manually (perhaps by inspecing first row's
column types), but you can import data easily using DataTable.Rows.Add and
passing object array for a row at a time.
The datatable.loaddatarow, makes from an array of values a datarow.
Be aware that the array of values in every seperate object has to fullfill
the rules about the columns.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.