mardi 26 juillet 2016

How to get the value from a list of CheckBox in C#?

There are a list of CheckBox which is created in grammatically in C#. Then will be placed in a html table.

Those CheckBox are used for user to delete item(row). The amount of those CheckBox depends on the number of items in database and it is only a checkBox contained in one html table row.

Although i haven't finished with the html table creation from database yet, i want to know that is it possible to get the value from a list of CheckBox first.

Deleting item steps:

check all the item that you want to delete ==> click delete button ==> there is a method to delete those items fromdatabase (.aspx.cs).

Extra question.....

Does anyone know what is the best source to generate a html table? list, dataTable or other thing?




Aucun commentaire:

Enregistrer un commentaire