con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= E:\VB Project\Tansportation\Transport2003.mdb" con.Open() sql = "SELECT * FROM TblBillStatmentEntry inner join Rates on Rates.ID=TblBillStatmentEntry.FromID" da = New OleDb.OleDbDataAdapter(sql, con) da.Fill(ds, "Transport2003") Try ComboBox1.SelectedValue = sql
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)