A.Answer is yes. We can use http handlers to upload a file in asp.net.
To perform file upload in ASP.NET, you need to know two classes: the System.Web.UI.HtmlControls.HtmlInputFile class and the System.Web.HttpPostedFile. The first class represents an HTML control that the user uses to select a file on the client side and upload it. The latter represents the uploaded file itself, and an instance of this class is obtained from the HtmlInputFile control. The next two subsections discuss each class in detail.
<% @ Import Namespace="System.IO" %>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment