ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









HttpPostedFile

System.Web (system.web.dll)sealed class

The HttpPostedFile class allows you to easily
manipulate files that are uploaded by the client. An
HttpPostedFile instance is provided by the
PostedFile property of the
System.Web.UI.HtmlControls.HtmlInputFile control.

You can use the SaveAs( ) method to save a posted
file to disk synchronously. The method will return once the file is
completely uploaded. Alternatively, you can get a
System.IO.Stream object containing the file from
the InputStream property and use it to work with
the file asynchronously (while it is being uploaded).

public sealed class 

HttpPostedFile {
// Public Instance Properties
public int

ContentLength {get; }
public string

ContentType {get; }
public string

FileName {get; }
public Stream

InputStream {get; }
// Public Instance Methods
public void

SaveAs (string

filename );
}



Returned By


HttpFileCollection.{Get( ),
this},
System.Web.UI.HtmlControls.HtmlInputFile.PostedFile


/ 873