SqlConnection con = new SqlConnection("server=localhost;user id=sa;pwd="); con.Open(); string st = "Create Table Query"; SqlCommand cmd = new SqlCommand(st, con); try { cmd.ExecuteNonQuery(); } catch (SqlException ex) { } con.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)