Need Help - How to upload image to web site using Asp.net ?
I want to know how I can upload any images to web site.Is there any tag
in asp.net that allows me to upload an image? Is there any other way to do
Re: Need Help - How to upload image to web site using Asp.net ?
"Geeta" <firstname.lastname@example.org> wrote in message news:email@example.com...
> I want to know how I can upload any images to web site.Is there any tag
> in asp.net that allows me to upload an image? Is there any other way to do
The HtmlInputFile control, which includes a built-in Browse button, lets you
upload a file from the client to a folder on the server. When the user
clicks the Browse button, a standard file selection window appears to help
the user select the file to upload. To use this control programmatically,
you must also include the attribute enctype="multipart/form-data" in the
form element of your Web page.
Constance Petersen, DevX newsgroup section leader
SoftMedia Artisans, Inc.
Visual Basic.NET Internet Black Book
HTML element and allows you to upload a file to the server
HtmlInputFile Server Control Declarative Syntax
<input type=file> HTML element and allows you to upload a file to the server.
For More Details,
OnDataBinding="OnDataBinding event handler"
OnDisposed="OnDisposed event handler"
OnInit="OnInit event handler"
OnLoad="OnLoad event handler"
OnPreRender="OnPreRender event handler"
OnUnload="OnUnload event handler"
Last edited by windows_mss; 01-30-2007 at 02:15 AM.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL