7
Answers

Store HTML Anchor Tag in a C# string Variable

Rajeev Ranjan

Rajeev Ranjan

17y
7.2k
1

I have this code for VB.NET
Dim UName As String
Dim thisName As String
thisName = "<a href=""Hello.aspx?id=" & UserId & """>" & UName & "</a>"

But I want it in C#. Plz solve this problem. Its urgent

Thanks

Answers (7)