I have one combobox feild with unique key... i want to validate items of the combobox
like i have one feild which name is Lotno it has 3 value W101,W102,W103, now i want that my value will not be repate.
that means no duplication. than what i can do?
please reply me immediatly.
one thing is that i have add the item in combobox at run time.
thank you

Vignesh ManiRank #98 · 22.1K reputationPosted Jun 30, 2015, 8:38 PM EDT
Vignesh ManiRank #98 · 22.1K reputationPosted Jun 30, 2015, 8:47 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Jun 30, 2015, 9:00 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 30, 2015, 9:09 PM EDT
for (int i = 0; i list[0].Count; i++) { if (!comboBox1.Items.Contains(list[0][i]) ) { cbnama.Items.Add(list[0][i]); } }payal bhavsar9 reputationPosted Jul 1, 2015, 3:20 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jul 1, 2015, 3:39 AM EDT
payal bhavsar9 reputationPosted Jul 1, 2015, 3:47 AM EDT
payal bhavsar9 reputationPosted Jul 1, 2015, 3:47 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Jul 1, 2015, 3:51 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jul 1, 2015, 4:34 AM EDT