Follow this link you get the answer:
http://www.codeproject.com/KB/aspnet/fileupload.aspx#security
I did little correction in the downloaded code to execute in VS 2005:
1) In deault.aspx.cs:
Replace
namespace FileUpload
{
public class WebForm1 : System.Web.UI.Page
with
public partial class _Default : System.Web.UI.Page
2) In default.aspx source code:
Replace first line with
<%@ Page language="c#" AutoEventWireUp="true" CodeFile="default.aspx.cs" Inherits="_Default" %>
No comments:
Post a Comment