CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Help me, FileUpload Component!

Print topic Send  topic

Author Message
navisrock

Posts: 3
Posted: 05/17/2007, 3:07 AM

Anyone know how to use the FileUpload and save the uploaded file to a specific record on a database? Replace Path of Image Textbox by Path of FileUpload.
Error: "Persits uploading component Persits.Upload is not found. Please install the component or select another one."
Thanks!
_________________
Nguyen Trung Kien
View profile  Send private message
Benjamin Krajmalnik
Posted: 05/17/2007, 8:51 AM

First of all, you do not need to use the persist component - you can use the
built-in (I believe it is adodb).
From that point onward, it is a matter of writing an event after the upload.
You know where the file is and its location, so you would have to read it
into a biffer and then plce it in the database.

navisrock

Posts: 3
Posted: 05/17/2007, 6:20 PM

Thank you!
_________________
Nguyen Trung Kien
View profile  Send private message
navisrock

Posts: 3
Posted: 05/17/2007, 9:20 PM

my problem is here!:(,

Help me for this code, thnks!
_________________
Nguyen Trung Kien
View profile  Send private message
Benjamin Krajmalnik
Posted: 05/18/2007, 12:09 PM

OK.

I see your problem.
The Upload button is not required.
When you place the upload component, it adds the browse button. When you
submit the page using the add button it will perform the upload.
If you are trying to insert the image in a database blob, you will need to
handle it after the file has loaded.

You may want to go here:

http://www.dataobjx.net/products_home.asp

They have some articles with code on writing a document management system
with CodeCharge.

They also used to have a product you could purchase called Document manager
Pro.
You may want to contact them.



Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.