Datalist checkbox delete
IÂ´m new to asp.net
I've been trying to create a datalist with a checkbox so I can delete what it is selected.
I managed to create the datalist with the check box and to get the itemindex of what I select, however I could figure out how to delete.
Can someone help me do this.
This is what I have,
For Each anItem In DataList1.Items
isDeleted = CType(anItem.FindControl("elim_imprimir"), CheckBox).Checked
If isDeleted Then
Dim posi_foto As String = anItem.ItemIndex
Thanks in advance,