TWAIN ActiveX Control, Plug-in, Scanner SDK, Component, HTTP Control/SDK

Dynamsoft TWAIN Products

Support Community for TWAIN Control/Component/SDK for Scanning Solutions
* Login   * Register
* FAQ    * Search

It is currently Sun May 20, 2012 3:03 pm




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: how to upload image with Asp.net C#
PostPosted: Tue Apr 19, 2011 3:37 am 
Offline

Joined: Wed Apr 06, 2011 5:19 am
Posts: 3
Hi Support Team

I used save to file sample it works fine but i dont want the SaveToFile.aspx I want all the processing in only one page because there are also alot of fields except scanner thing and I dont know how i can send multiple values javascript to c#.
Actually our requirement is different. There is WebForm having about 10 user registration fields(server side),user fill the data in fields, now user move to scan image(client side).user hit the scan button and scanner begin to scan the image. after scanning user put the image name in field then there is a upload button when user hit the upload button all the fields will save into the database.Note: In this process we need only the path in database not an image.Image should save into the directory. I know your tool is a clien side tool but we need uploading by server side so that we can process our data.MoreOver,Is that possible to get an image in our c# code.

Thanks


Top
 Profile  
 
 Post subject: Re: how to upload image with Asp.net C#
PostPosted: Tue Apr 19, 2011 11:46 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
Hi Yasir,

As discussed in our live chat, the method SetHTTPFormField can help you upload field values to the server together with the image.

The action page on the server will receive both the image and the field values. You can save the image to the directory and the field values to the database.

Please try the sample code we sent you and let us know how it works.

Regards.

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

It is currently Sun May 20, 2012 3:03 pm


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog