Hi,
I have a datalist with a template which among other things adds a button to
each item from the SQL Database. I need to set the value of the id field of the record in
the db to the button like this:
<input type=button id='btn_<%# DataBinder.Eval(Container.DataItem, "id")
%>'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.