string query = "insert into table1(x,y,z); update table2 set a = 23;" OledbCommand cmd = new OledbCommand(query, connection); . . . cmd.ExecuteNonQuery();
SQL Server Express
string strQuery = " Insert into tbl values(1,1);Update tbl set fld=value where id=id;update tbl2 set fld=value where id=id;";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)