CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 Image Link Using relative path

Print topic Send  topic

Author Message

Posts: 7
Posted: 11/01/2004, 3:44 AM

I am using ASP.NET C# , and I use the FileUpload Component to upload the files to the folder (.\myfiles \doc) , I notice that the file name only saved to the database with out the path , when I create the grid containing ImagLink the the file name its give me (http://ServerName/AppDir/FileName.ext) But i need this (http://ServerName/AppDir/myfiles/doc/FileName.ext)
Please How To Solve this Problem
View profile  Send private message
Heitor Miguel
Posted: 11/01/2004, 8:22 AM

Use this code and replace the path with your path
Private Sub btnUpload_serverClick()....

Heitor Miguel

Posts: 5971
Posted: 11/01/2004, 10:42 AM

You shouldn't replace the path, since then you may not be able to delete those files.
Instead, modify the HTML that displays the URL, so that your HTML includes the path, then the file name would be appended to it.
Peter R.
YesSoftware Forums Moderator
For product support please visit
View profile  Send private message

Posts: 7
Posted: 11/01/2004, 12:31 PM

Thanks peterr
Its Work .
View profile  Send private message

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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

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