using System;
using System.Web;
public class TestHandler : IHttpHandler {
public void ProcessRequest (HttpContext context) {
int item = Convert.ToInt32(context.Request["item"]);
context.Response.ContentType = "text/plain";
context.Response.Write(item.ToString());
}
public bool IsReusable {
get {
return false;
}
}
}
沒有留言:
張貼留言