Ajax Toolkit: AjaxFileUpload PathName

yourradio

New Member
I run a local version of my Web Form in visual studio 2010 with the Ajax File Upload control. I test by uploading a file and writing the e.fileName, e.fileSize etc. to a database and then using a gridview to download the file later.My issue is this, when I write the 'e.fileName' to the database it gives me the entire path of the file (i.e. C:\Folder\filename.xls) as the files name. Advice on correcting this would be greatly appreciated.Thanks.
 
Back
Top