示例#1
0
		public static int GetParamInt(string param, HttpRequest Request)
		{
			if (Request.get_Params().get_Item(param) == null || Request.get_Params().get_Item(param) == "")
			{
				throw new CarConfigException();
			}
			return int.Parse(Request.get_Params().get_Item(param));
		}
示例#2
0
		public static string GetParamStr(string param, HttpRequest Request)
		{
			if (Request.get_Params().get_Item(param) == null || Request.get_Params().get_Item(param) == "")
			{
				throw new CarConfigException();
			}
			return Request.get_Params().get_Item(param).ToString();
		}