I have been trying to populate a combo box with the data contained in a table in a MS SQL Database. I have searched the BB for this information but I was unable to combine the posts in a manner that made sense to me.

I have a table located in SQL called Current_Users that I have linked to my vb project via the dataenvironment1. This table contains two (2) fields; UserName and P_Word. I want to use contains of the UserName field to populate ComboBox1. How can I accomplish this?


Thank You,

Mark