MTecho
asked on
Save a DataTable to SQL Server database and make the database table at the same time
I have a DataTable object, filled with data from an existing query (used a DataAdaptor and SQL statement).
I want to put the data in this DataTable object into a new table in an SQL Server database.
How do I make the table and populate it as fast as possible from a C# application?
I want to put the data in this DataTable object into a new table in an SQL Server database.
How do I make the table and populate it as fast as possible from a C# application?
You can use SELECT INTO statement to input data to new table in SQL Server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.