public static object ExecuteScalar(string sql, CommandType type, params SqlParameter[] pars) { return(getData.ExecuteScalar(sql, "db_office")); }