Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

Why are these special characters showing up?

This code:
string anchor = "<a href=\"~/" + t.TableName + "/Edit.aspx\">" + t.TableName + "</a>";

http://localhost:2614/Pages/z_old_product/Edit.aspx

because the page where I am posing the link is in the Pages folder.

I want to remove Pages. But z_old_product is not a folder, otherwise I think I could use:

"~/z_old_product/Edit.aspx"

Please let me know...

Thanks,
newebieweb
ASKER CERTIFIED SOLUTION
Avatar of starlite551
starlite551
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

Is there no other way? I like the Pages folder, but z_old_product is a database table. This is a Dynamic Data website...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.