using System; using System.Collections; using System.Data; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Linq; using TestWebMsgApp; using System.Web.UI.WebControls; using System.Web.SessionState; namespace SchoolMgtSys.Hostal.Forms { /// <summary> /// Summary description for $codebehindclassname$ /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class myhandler : IHttpHandler, IReadOnlySessionState { //Global object and vriables Declertion class_section cs = new class_section(); prophostalfine obj_prop = new prophostalfine(); hostalfineclass obj = new hostalfineclass(); intstudent_hostl prp_hostal = new intstudent_hostl(); hostalclass obj_hostl = new hostalclass(); public ClsTimeTable objtime = new ClsTimeTable(); clsTimetableprp objtimeprp = new clsTimetableprp(); // public bool IsReusable { get { return true; } } public void ProcessRequest(HttpContext context) { try { string strId = context.Request.QueryString["st_id"]; prp_hostal.stid = Convert.ToInt32(strId); context.Response.BinaryWrite(obj_hostl.get_read(prp_hostal)); context.Response.End(); } catch (Exception ew) { WebMsgBox.Show(ew.Message); } } public bool IsReusable { get { return false; } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)