Beispiel #1
0
    protected void GetList()
    {
        string Hno = Request.QueryString["Hno"];

        LEANJU.BLL.House   bll   = new LEANJU.BLL.House();
        LEANJU.Model.House model = new LEANJU.Model.House();
        model = bll.GetModel(Hno);
        JavaScriptSerializer jss = new JavaScriptSerializer();
        String resultObj         = jss.Serialize(model);

        WriteMessage("", resultObj);
    }
Beispiel #2
0
    protected void GetList()
    {
        LEANJU.BLL.House          bll  = new LEANJU.BLL.House();
        LEANJU.Model.House        e    = new LEANJU.Model.House();
        List <LEANJU.Model.House> data = new List <LEANJU.Model.House>();

        data = bll.GetModelList("");



        JavaScriptSerializer jss = new JavaScriptSerializer();
        String resultObj         = jss.Serialize(data);

        WriteMessage("", resultObj);
    }