public static void exec_proc(string proc,string param) { SqlCommand cmd = new SqlCommand(proc,DBConnection()); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("@DESCRIPTION", SqlDbType.VarChar,30).Value = param; cmd.ExecuteNonQuery(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)