I'm thinking this shouldn't be hard...but I can't seem to grasp what I need
to do here. I have a datagrid on my form (datasource=dtUsers). This
datagrid displays three fields username, password, level. In the database I
have the level as a 1 character field (1,2,3...). The data displays
properly in the datagrid.
I have a textbox below the datagrid. I have put this code in the load event
of the form:
Me.txtUsername.DataBindings.Add("Text", dtUsers, "username")
The textbox works as it should...as I click on different users in the grid
the username changes in the textbox.
So, here's my question.
I want to create a combobox that will display the level...but I want to use
1=User, 2=Admin, etc.
I'm trying to figure out how to do this. I created a DT to match up the
values, but I'm not sure how to bind them and so on...
Can anyone help point me in the right direction?
-bruce duncan