
.NET ez 2011-11-29
如下就能直接讀取File Upload 的檔案內容
StreamReader SR = new StreamReader(this.FI.PostedFile.InputStream, System.Text.Encoding.Default); string body = SR.ReadToEnd();
標籤: .NET
本文章網址:
https://www.ez2o.com/Blog/Post/csharp-ASP.NET-File-Upload-Read-String
https://www.ez2o.com/Blog/Post/39
https://www.ez2o.com/Blog/Post/csharp-ASP.NET-File-Upload-Read-String
https://www.ez2o.com/Blog/Post/39