Store HTML Anchor Tag in a C# string Variable

Jun 16 2007 12:34 PM

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)