By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,057 Members | 1,407 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,057 IT Pros & Developers. It's quick & easy.

Filling a ComboBox with Unique data

P: 2
Hello,

I have a simple datatable ("Co_Size")with non-unique data and I would like to populate a combobox with unique data (VB 2005). I haven't figured it out yet. Any help?

Scott
Dec 21 '07 #1
Share this Question
Share on Google+
3 Replies


100+
P: 274
Try doing this by "Select Distinct .... " query and use this to populate combo data
Dec 22 '07 #2

debasisdas
Expert 5K+
P: 8,127
The duplicate values can be eleminated by using UNIQUE or DISTINCT key word in the sql statment.
Dec 22 '07 #3

P: 2
That did it,

Thanks to both.
Jan 1 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.