Click here to Skip to main content
16,018,938 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Response.Write("<td>");
Response.Write("<a href="/KB/answers/023-EditCi.aspx"?id='></a>");
Response.Write("</td>");

What I have tried:

I need send id to another page. This code give me just column with out link.
Posted
Updated 20-Sep-17 2:37am

1 solution

Ummm...that IS a link. The problem is that is nothing after the text for id and nothing between the opening and closing A tags.
<a href='023-EditCi.aspx?id=????????'>????????</a>


So, this is simple string manipulation. You have to put a value in for id and, optionally, some text for the link.

You can use either string concatenation or a StringBuilder to build the entire A tag.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900