You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
969 B
36 lines
969 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace FangYar.WebUI.ashx
|
|
{
|
|
/// <summary>
|
|
/// Handler1 的摘要说明
|
|
/// </summary>
|
|
public class Handler1 : IHttpHandler
|
|
{
|
|
|
|
public void ProcessRequest(HttpContext context)
|
|
{
|
|
context.Response.ContentType = "text/json";
|
|
FangYar.Model.BaseUserModel buser = new Model.BaseUserModel();
|
|
FangYar.BLL.BaseUserBLL bll = new BLL.BaseUserBLL();
|
|
List<FangYar.Model.BaseUserModel> list = bll.QueryList(1, 10, null, null);
|
|
//bll.QueryProc(1,10,null,null);
|
|
buser = bll.GetUserByUserID("11");
|
|
string returnstr = "";
|
|
returnstr = FangYar.Common.JsonHelper.ToJson(list);
|
|
context.Response.Write(returnstr);
|
|
|
|
}
|
|
|
|
public bool IsReusable
|
|
{
|
|
get
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|