public void ProcessRequest(HttpContext context) { var PrefixText = context.Request.QueryString["term"]; RQ = new MDMSVC.DC_Country_Search_RQ(); if (PrefixText != "") { RQ.Country_Name = PrefixText; } var res = msterdata.GetCountryNameList(RQ); context.Response.Write(new JavaScriptSerializer().Serialize(res)); }