How to create Insert script using c#
Posted
by karthik
on Stack Overflow
See other posts from Stack Overflow
or by karthik
Published on 2010-05-04T07:42:06Z
Indexed on
2010/05/04
7:48 UTC
Read the original article
Hit count: 225
c#
From my c# code behind, i pass a query to mysql database and get the data in a DataTable. Now i want to use the data in data table to write the Insert query in a script file [.sql]
The objective of doing so is, whatever records i select from mysql, i should write that to a script file as backup. Thais why i need the insert statements.
How ? Or any other idea is appreciated.
© Stack Overflow or respective owner