public static void ExecuteNonQuery(Int32 empid) { SqlParameter[] param = new SqlParameter[1]; SqlParameter p1 = new SqlParameter(PARAM1NAME, empid); param[0] = p1; _sqlHelper.ExecuteNonQuery(PROCEDURE_NAME, param); }
public static void ExecuteNonQuery() { _sqlHelper.ExecuteNonQuery(CommandType.StoredProcedure, PROCEDURE_NAME); }