FileUploader ASP.NET User Guide

StudyHost
FileUploader Control 使用說明
P. 1
1. 在瀏覽器中鍵入網址『http://codestorage.ria101.com.tw/CodeStorageRIAUser.html?CodeUid=87』以下
載檔案 (若您不是會員,請先建立帳號):
2. 建立 ASP.NET Web 應用程式:
http://www.StudyHost.Com
StudyHost
FileUploader Control 使用說明
P. 2
3. 在專案的 Reference 資料夾下,按右鍵並點選 Add Reference
引用位於 Binaries 資料夾底下的 UploadService.dll
4. 在專案中建立 Web Service:
http://www.StudyHost.Com
StudyHost
FileUploader Control 使用說明
P. 3
public class FileReceiver : System.Web.Services.WebService {
[WebMethod] public string HelloWorld() { return "Hello World"; } }
[WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)]
public class FileReceiver : StudyHost.Web.Services.FileUploadServiceBase { [WebMethod] public string HelloWorld() { return "Hello World"; }
1. 開啟 Web Service(.asmx)Code Behide 程式碼(xxxx.cs),將
System.Web.Services.WebService 刪除:
2. 修改為繼承自 StudyHost.Web.Services.FileUploadServiceBase
http://www.StudyHost.Com
Loading...
+ 4 hidden pages