In the Code behind you would have to use the combobox's 'SelectedIndexChanged' Event. Inside that function you can change the textbox text to what ever you like. For Example if we have a combox called cmbTest and a text box called txtTest:
Private Sub cmbTest_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cmbTest.SelectedIndexChanged
txtTest.Text = "whatever text you want"
End Sub
You could use a select statment to decide what text to use based on the combobox e.g:
Private Sub cmbTest_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cmbTest.SelectedIndexChanged
Select Case cmbTest.SelectedIndex
Case 1
txtTest.Text = "The Selected index is 1"
Case 2
txtTest.Text = "The Selected index is 2"
Case 3
txtTest.Text = "The Selected index is 3"
End Select
End Sub
You could do something along these lines to access the data in the access database (obviously you will need to replace the sql statement with whatever tables / columns you have in your access db):
Dim dt As New DataTable
Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\PATH_TO_MDB_FILE\db1.mdb;")
Try
cn.Open()
Dim Str As String = "SELECT * FROM yourTableName WHERE columnName = '" & ComboBox1.SelectedValue.ToString & "'" ' Or whatever SQL statement you want
Dim cmd As New OleDbCommand(Str, cn)
dt.Load(cmd.ExecuteReader())
Catch
'handle error
End Try
cn.Close()
You can then use the datatable to access the text to put into the textboxes e.g:
txtTest.Text = dt.Rows(0).Item("ColumnName").ToString()
I hope that helps, and that I understood what you want.