I see a lot of questions on this, looks to be a hard item. I'm new to vb.net, so I too am having some troubles with this. I have the following so far, but i get a system.nullreferenceexception error. All I want is for the combo box to list a column from the DB, and then if it is selected, to press Load, and it will load the corresponding row values to the textboxes, combo boxes, etc.
VB.NET:
Private Sub frmprospect_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'OleDbDataAdapter1.Fill(DataSet1, "ProspectTable")
'cbAutoComplete.DataSource = DataSet1.Tables("ProspectTable")
'cbAutoComplete.DisplayMember = "FullName"
Dim conStr As String = "Provider=SQLOLEDB.1;Server=DBV;Database=EnrollmentManagement;Integrated Security=SSPI"
Dim sqlStr As String = "SELECT * FROM ProspectTable"
Dim conn As OleDbConnection = New OleDbConnection(conStr)
Dim da As OleDbDataAdapter = New OleDbDataAdapter(sqlStr, conn)
Dim ds As DataSet = New DataSet
da.Fill(ds, "FullName")
Dim dv As DataView = ds.Tables("ProspectTable").DefaultView
cbAutoComplete.DataSource = dv
cbAutoComplete.DisplayMember = "FullName"
sspanelSearch.Visible = False
End Sub