am using the following code to bind a checkedlistbox
in win form.I want to get the value member of of checked items in checkedlistbox ?
listCollection = new List<ListItem>();
listCollection.Add(new ListItem { text = "Manufacturer", value = "1" });
listCollection.Add(new ListItem { text = "Dealer", value = "2" });
listCollection.Add(new ListItem { text = "Distributor", value = "3" });
listCollection.Add(new ListItem { text = "Trader", value = "4" });
listCollection.Add(new ListItem { text = "Service Provider", value = "5" });
chkListCategory.DataSource = listCollection;
chkListCategory.DisplayMember = "text";
chkListCategory.ValueMember = "value";