How do you set href attribute of anchor tag that is within a repeater in code behind?

后端 未结 4 1529
庸人自扰
庸人自扰 2021-01-25 06:23

normally on would use the following :-

aspx page:-

Link1 

code behind:-

4条回答
  •  清歌不尽
    2021-01-25 07:17

    You can do this in the ItemDatabound event.

    Check out: http://www.codeguru.com/csharp/.net/net_asp/tutorials/article.php/c12065

提交回复
热议问题