I want to create a SQL command that adds record to DB. I tried the following code but it doesn\'t seem to be working:
SqlCommand comand = new SqlCommand(\"IN
I think this is useful for u
SqlCommand command = new SqlCommand("inserting", con);
command.CommandType = CommandType.StoredProcedure;
command.Parameters.Add("@Firstname", SqlDbType.NVarChar).Value = TextBox1.Text;
command.Parameters.Add("@Lastname", SqlDbType.NVarChar).Value = TextBox2.Text;
command.ExecuteNonQuery();