資源簡介
代碼片段和文件信息
using?System;
using?System.Collections;
using?System.Data;
using?System.Web;
using?System.Web.Services;
using?System.Web.Services.Protocols;
using?System.IO;
using?System.Net;
using?System.Text;
namespace?WebApplication1
{
????///?
????///?$codebehindclassname$?的摘要說明
????///?
????[WebService(Namespace?=?“http://tempuri.org/“)]
????[WebServiceBinding(ConformsTo?=?WsiProfiles.BasicProfile1_1)]
????public?class?Handler1?:?IHttpHandler
????{
????????public?void?ProcessRequest(HttpContext?context)
????????{
????????????context.Response.ContentType?=?“text/plain“;
????????????//驗證上傳的權限
????????????//------功能暫留
????????????string?_fileNamePath?=?““;
????????????try
????????????{
????????????????_fileNamePath?=?context.Request.Form[“upfile“];
?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6485??2009-03-27?10:11??Handler1.ashx.cs
?????文件???????2217??2009-03-31?11:19??common.js
?????文件?????????96??2009-03-26?18:01??Handler1.ashx
?????文件??????57254??2009-03-20?15:11??jquery-1.3.2.min.js
?????文件???????2128??2009-03-30?10:41??Tpupload.html
-----------?---------??----------?-----??----
????????????????68180????????????????????5
- 上一篇:禁止從任務管理器中被關閉 + 進程保護
- 下一篇:asp.net 做的 blog程序
評論
共有 條評論