I want to know is ASP .NET how can I add a link to a data that I get from my DB. I will get the link from the same DB, but I need to add it to the name, no display the link

<%
	  While myDataReader.Read
	     Response.Write( myDataReader.Item("Name"))
	     Response.Write("<BR>")
	  End While
	%>

I'm not quite sure i follow is this what your looking for ?

Dim sb As New System.Text.StringBuilder

While myDataReader.Read
sb.append("<a href='")
sb.append(myDataReader.Item("Link"))
sb.append("'>")
sb.append(myDataReader.Item("Link"))
sb.append("</a>")
End While

MyLable.Text = sb.ToString()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.