Code. Collaborate. Organize.
No Limits. Try it Today.
string connStr = "Data Source=.;Initial Catalog=DatabaseName;Integrated Security=True";
SqlConnection dbCon = new SqlConnection(connStr);
sqlCmd = new SqlCommand();
sqlCmd.CommandType = CommandType.StoredProcedure;
sqlCmd.Connection = connStr ;
sqlCmd.CommandText = ("INSERT INTO TABLE NAME VALUES(A,B,C) ");
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)