I have a form with MyLabel and MyComboBox on it. In design time I set DataSource for MyComboBox to MyDataSet1, DisplayMember to TF_BADGES.Offic er_Name and ValueMember to TF_BADGES.Offic er_ID. TF_BADGES is the only table in my dataset with two columns (Officer_ID, Officer_Name). Here is code from my application:
Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Leave a comment: