Jump to content
  • Advertisement
Sign in to follow this  

[web] data binding with a URL

This topic is 4580 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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!