|
-
Mar 1st, 2005, 04:52 PM
#1
Thread Starter
Addicted Member
linkable table cell in web table control
Basically, I have a linkable table cell in web table control, the frustrated part is the linkable url contains apostrophe in person's name, so it makes that really hard to work correctly.
say, if the correct url PAGE will be D'Inocenzi,Mike.htm
how to make the code below work right?
.Cells(2).Text = "<a href='..//photos/D'Inocenzi,Mike.htm'>" & dr("name")& "</a>"
......
thanks
Last edited by redshirtme; Mar 1st, 2005 at 04:58 PM.
-
Mar 2nd, 2005, 06:30 AM
#2
Frenzied Member
Re: linkable table cell in web table control
You are using VB.NET yes?
Try:
Code:
.Cells(2).Text = "<a href=""..//photos/D'Inocenzi,Mike.htm"">" & dr("name")& "</a>"
The double double quotes should escape the double quote characters therefore not needing apostrophes for the a link and hence allowing apostrophes within the name.
HTH
DJ
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
|