Rank: Newbie
Groups: Member
Joined: 12/30/2009(UTC) Posts: 1
|
why we have wrote 'Path' and 'File' in this code?and how and where will we define these i.e. 'File' and 'Path'. string fileName = GetSafeFileName(Path.GetFileName(e.File.FileName)); e.File.SaveAs(Server.MapPath(galleryPath + fileName)); this code is giving error in 'File' please tell me the error. Edited by user Monday, January 4, 2010 5:16:57 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, It is FileUploaded event used to handle uploaded data server-side. This event is fired the same amount of times as a number of files uploaded from the client receiving the data related to a particular file. The detailed information about this event you can find in the Inserting Image Uploader ASP.NET Control into ASP.NET Page topic. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.