hi
using vb.net with asp.net
i have a datalist, and in html i have the appropriate stuff put in to bind the datalist with the data from sql - works, great!
for one of the columns, there is a hyperlink. i also modified it to show the text as a url, it works, great
but how do i add some data from the current pages' querystring into the hyperlink?
the hyperlink thingy is like this:
so there, a hyperlink is being created, based on the ThreadName field in the datalist. But appending to the "ThreadID=" i would like the querystring that is currently on the page. is it possible? how?Code:<asp:HyperLink id=hypLnkToThread runat="server" Width="64px" Height="24px" Text="<%# DataBinder.Eval(Container, "DataItem['ThreadName']") %>" NavigateUrl = '<%# "ShowThread.aspx?ThreadID=" & Container.DataItem("ThreadID")%>'> </asp:HyperLink>




Reply With Quote