mercredi 21 septembre 2016

Edit a row in repeater depending on that if the checkbox is checked

I have a table which is created with a repeater. One of the columns is a checkbox. If the checkbox is checked (information is taken from a database, so when user is running the form he will only see if its checked or not) the user need to have the option to change the data of that row in the table, if the checkbox is not checked he has only the option to read the row.

< asp:CheckBox runat="server" Checked='< %#Eval("isActive")%>' >< /asp:CheckBox>

this is my code for the checkbox for now and it is taking successfully the information from the data source.




Aucun commentaire:

Enregistrer un commentaire