c# - Insert data from DataTable to database table
I see you have edited your original post, but it is still not telling us much. Do we need to guess what you want?My guess:
You have a C# application that connects to a database on a SQL instance. On the C# application you have a grid with data (from where???). You need to write the data from the grid (how many columns, rows; what type of data???) to one (or more????) tables in the database. You want us to give you the statement you need to use to get the data from the grid into the table(s).
If I'm wrong, please tell us the correct story
. If my guess is correct, why didn't you write this down in the first place
** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **