if (fuUpload.HasFile)
                {
                    string FilePath = Server.MapPath("~/App_Data/Articles/");
                    string FileName = Path.GetFileName(fuUpload.FileName);
                    fuUpload.SaveAs(FilePath + FileName);
                }

If you are using FileUpload control inside Update Panel then use triggers

           
       

0 comments:

Post a Comment