/ Published in: C#
In DB.GetData(select) is executed
new SqlDataAdapter(Select, dbConnection).Fill(table)
new SqlDataAdapter(Select, dbConnection).Fill(table)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
DataTable table = DB.GetData(@"INSERT INTO [table_name] VALUES(values) SELECT id = SCOPE_IDENTITY()");