Evaluating template column in a grid.

this template column returns 1 or 0 for every record depending on the content in the database.



<%# DataBinder.Eval(Container.DataItem,"u_isactive")%>



this template column gets whether each user is active (1) or not(0) from the database. i need to have another template column with checkbox in it, mentioning the status of activeness. checked if it is 1, and unchecked if its 0 while binding itself.

plz help me solving this. also give me a reference link or notes of evaluating the template column using other controls(dropdownlist, radiobutton, keeping image, validator aswell.



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories