Link to home
Create AccountLog 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
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
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
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thanks.