a href querystring error

by putting the relevant a href,

it is getting invalid url in the popup.aspx,,
aspx.cs
-------
litMedia.Text = "<li><a id='inline' href=""popup.aspx?strapp=" & NewDS1.Tables(0).Rows(i)("ID") & ">" & NewDS1.Tables(0).Rows(i)("Subject").ToString() & "</a></li>"

browser
-------
http://localhost/GTSEClaims/popup.aspx?strapp=1>THIS IS IGTSDEV!!!!!</a></li><li><div id ='1' class=

Open in new window

LVL 1
doramail05Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Paul JacksonConnect With a Mentor Software EngineerCommented:
need double closing quotes after the href
litMedia.Text = "<li><a id='inline' href=""popup.aspx?strapp=" & NewDS1.Tables(0).Rows(i)("ID") & "">" & NewDS1.Tables(0).Rows(i)("Subject").ToString() & "</a></li>"
0
 
Paul JacksonSoftware EngineerCommented:
What do you expect it to be?
0
 
KelmenCommented:
popup.aspx?strapp=" & HtmlUtil.HtmlEncode(NewDS1.Tables(0).Rows(i)("ID")) ...
0
All Courses

From novice to tech pro — start learning today.