lundi 12 janvier 2015

VB.NET- how to limit checkbox selection in listview?

i want to limit the checkbox selection in listview into 2 help please.



If lvbooklist.CheckedItems.Count >= 2 Then
e.NewValue = CheckState.Unchecked
MsgBox("Only 2 Book can be borrow per day")
Else

End If




Aucun commentaire:

Enregistrer un commentaire