str = "insert into table values()"; SqlCommand cmd = new SqlCommand(); cmd.Connection="connection string"; cmd.CommandText = str; cmd.ExecuteNonQuery();
string str = "insert into table values"; SqlDataAdapter adp = new SqlDataAdapter(str, "connection string"); DataSet ds = new DataSet(); adp.Fill(ds);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)