c# - How to get the Filename(s) Uploaded using the Ajax Uploader -
i uploading multiple files db using ajax file uploder, need names of files without extension in normal file control.does 1 knows there way filenames uploaded using ajax uploader. had searched in google , seen many sites haven't found helpful links. knows helpful links or code kindly suggest me.
you can use request.files files submitted page.
e.g.
if (request.files.count > 0) { httppostedfile objfile = request.files[0]; string filename = strtick + system.io.path.getfilenamewithoutextension(objfile.filename); string originalname = objfile.filename; }
Comments
Post a Comment