this kind of SqlParameter is useful when you combine it with DataSet update, if you just want to run straight SQL DELETE, trymyCommand.Parameters.Add(new SqlParameter("@Original_SubId", System.Data.SqlDbType.Int));
myCommand.Parameters["@Original_SubId"].Value = TestNo;//assume TestNo is an int
myConnection.Open();
myCommand.ExecuteNonQuery();
myConnection.Close();