|
-
Oct 3rd, 2006, 03:30 AM
#1
Thread Starter
Fanatic Member
setting a hyperlinkfield
Im using the dataNavigateUrlFields property of a hyperlinkfield in a gridview to set the link to a field from my database. In my database however I have a folder/folder/filename without the preceding dns.
How do i get .net to go back one folder when it automatically inserts the rest of the url for me?
-
Oct 3rd, 2006, 11:36 AM
#2
Re: setting a hyperlinkfield
Usualy you can use a double period to climb up the directory tree, like this for one folder back ../myfile.txt or this for two folders back ../../myfile.txt
-
Oct 3rd, 2006, 04:04 PM
#3
Re: setting a hyperlinkfield
Prepend ~/ to the beginning of the string.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|