ExecuteNonQuery(SqlConnection conn, CommandType cmdType, string cmdText, params SqlParameter[] cmdParameters)
{
SqlCommand cmd = new SqlCommand();
cmd.CommandTimeout =60000;PrepareCommand(cmd, conn, cmdType, cmdText, cmdParameters);
int val = cmd.ExecuteNonQuery();
cmd.Parameters.Clear();
return val;
}
{
SqlCommand cmd = new SqlCommand();
cmd.CommandTimeout =60000;PrepareCommand(cmd, conn, cmdType, cmdText, cmdParameters);
int val = cmd.ExecuteNonQuery();
cmd.Parameters.Clear();
return val;
}
No comments :
Post a Comment