Welcome Guest Search | Active Topics | Sign In | Register

AjaxUploader how to read the data in the file Options
Mona
Posted: Friday, April 30, 2010 11:52:02 AM
Rank: Advanced Member
Groups: Member

Joined: 5/15/2009
Posts: 33
Hi,

I'm trying to use the AJAXUploader but I couldn't figure out how to read directly from files in TempFileLocation. I don't need a FinalFileLocation. I want to read the file (excel) and then insert records into the database. How can I do that with your uploader? I only got to this part where I get the file, but how do I read the contents?


Protected Sub eoAJAXUploader_FileUploaded(ByVal sender As Object, ByVal e As System.EventArgs) Handles eoAJAXUploader.FileUploaded
Dim file As EO.Web.AJAXPostedFile
For Each file In eoAJAXUploader.PostedFiles
'read contents and insert into DB
Next
End Sub
eo_support
Posted: Friday, April 30, 2010 11:56:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

AJAXUploader only helps you to transfer the file to the server. How to read or use that file is totally up to you and is beyond the scope of our support. Sorry about it!

Thanks!


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.