public static long GetQueryLong(string key, long def) { string val = DoRequest.GetQueryString(key); if (Utils.IsLong(val)) { return(long.Parse(val)); } return(def); }
public static int GetQueryInt(string key, int def) { return(Utils.StrToInt(DoRequest.GetQueryString(key), def)); }