• Advertisement
Sign in to follow this  

[web] data binding with a URL

This topic is 4308 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi guys i am making data binding in my web page i am using asp.net v1.1 with c# i put in my DataList a hyperlink which should have the URL "ShowItemsPage.aspx" and i want to add to the page in the url an Id which comes from databinding of the Id colum in my Data Set : DataBinder.Eval(Container.DataItem, "Id") . so what i need to have the final result is : www.2digital.tv/ShowItemsPage.aspx?Id=3 where 3 is the value for Id in my databinder container so can anybody help me how to write it by code to get this result ??? i am getting a wrong result which is www.2digital.tv/ShowItemsPage.aspx?Id=&%#%20DataBinder.Eval(Container.DataItem,%20'Id')% thanks in advace

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement