public void ApplyNoneQuerySP(string ProcName, string[] param, object[] value) { cmd = new SqlCommand(ProcName,cnn); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue(param, value); cnn.Open(); int rows = cmd.ExecuteNonQuery(); cnn.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)