public void Sel_ByCode_ByIDLang(HttpContext context) { String jSonString = ""; string Code = context.Request.QueryString["Code"]; int IDLang = int.Parse(context.Request.QueryString["IDLang"]); ExtendPropertiesBO aExtendPropertiesBO = new ExtendPropertiesBO(); List<ExtendProperties> obj = aExtendPropertiesBO.Sel_ByCode_ByIDLang(Code, IDLang); //obj.Info = HttpUtility.HtmlDecode(obj.Info); //obj.Intro = HttpUtility.HtmlDecode(obj.Intro); if (obj != null) { _converter.DateTimeFormat = "dd/MM/yyyy"; jSonString = JsonConvert.SerializeObject(obj, _converter); } jSonString = "{\"data\":" + jSonString + "}"; context.Response.Write(jSonString); }