G
Guest
Is it possible to use a DataAdapter table to perform an insert.
The DataAdapter table would be filled with data from an excel sheet and I would want to insert this data into a Sql Server table.
Example --
cmdInsert = New SqlCommand("Insert into authors select * from DataAdapter(table)")
conPubs.Open()
cmdInsert.ExecuteNonQuery()
The DataAdapter table would be filled with data from an excel sheet and I would want to insert this data into a Sql Server table.
Example --
cmdInsert = New SqlCommand("Insert into authors select * from DataAdapter(table)")
conPubs.Open()
cmdInsert.ExecuteNonQuery()