摘要:
using System;using System.Web;public class FileUp : IHttpHandler { string modelPath = "model.htm"; string strHtml = ""; public void ProcessRequest (HttpContext context) { System.Web.UI.WebControls.Button btn = new System.Web.UI.WebControls.Button(); //尝试检查浏览器是否传递过来一个叫 isPostBa... 阅读全文
posted @ 2014-02-08 17:56
南瓜asp
阅读(133)
评论(0)
推荐(0)
摘要:
1 2 3 using System; 4 using System.Web; 5 using System.Drawing; 6 7 public class MakeImg : IHttpHandler { 8 9 public void ProcessRequest (HttpContext context) {10 context.Response.ContentType = "image/jpg";//告诉浏览器以什么编码方式处理2进制流11 string imgPath="upload\\1.jpg";12 ... 阅读全文
posted @ 2014-02-08 16:19
南瓜asp
阅读(229)
评论(0)
推荐(0)

浙公网安备 33010602011771号