连接Access数据库
string strPath = Application.StartupPath + "\\DataBase\\AccessDB.mdb";
OleDbConnection con = new OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;data source='"+strPath+"'");
OleDbDataAdapter oda = new OleDbDataAdapter("Select * from tb_Student", con);
DataSet ds = new DataSet();
oda.Fill(ds);
dataGridView1.DataSource = ds.Tables[0].DefaultView;