<summary>///Get VALUES (strings)////</summary> public static string Getvaluefromurl (string) from URL Key) {string keyvalue = Httpcontext.current.request.querystring[key]; if (keyvalue! = null) {keyvalue = killbadstring (keyvalue); return keyvalue; } return ""; }///<summary>//Get value from URL (integer)///</summary>//<param name= "key" ></pa ram>//<returns></returns> public static int Getintvaluefromurl (string key) { String keyvalue = Httpcontext.current.request.querystring[key]; int result = 0; if (int. TryParse (keyvalue, out result)) {return result; } return result; }///<summary>///filter SQL sensitive characters///</summary>//<param name= "str" ></para M>///<returns></returns> public static string killbadstring (String str) {if (str = = nul L | | Str. Length = = 0) {return ""; } str = System.Text.RegularExpressions.Regex.Replace (str, "'", "" "); return str; }