firstly you are using a reader with a dataset and that confuses more. if you want to retrieve what is in the command object and in future you won't manipulate the data, you should use only a datareader.so you have combined dataset and a datareader. your code above can be written like this
OleDbConnection con=new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:\\JET PRINT LIMITED\\JET PRINT LIMITED.mdb");
OleDbDataReader dr;
OleDbCommand comm = new SqlCommand();
comm.Connection=con;
comm.CommandType=CommandType.Text;
comm.CommandText = "select * from STOCKDET";
con.Open();
dr=comm.ExecuteReader();
con.Close();
comboBox1.Datasource=dr;
MessageBox.Show("data into Combobox successfuly!!!");
MessageBox.Show("Connected successfuly!!!");
Hope it helps
Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za