string strconn = "provider=microsoft.jet.oledb.4.0;data source=./财务软件.mdb";
OleDbConnection conn = new OleDbConnection(strconn);
conn.Open();
string strcmd = "select * from 支出表 ";
OleDbCommand cmd = new OleDbCommand(strcmd, conn);
OleDbDataAdapter adp = new OleDbDataAdapter(cmd);
DataSet ds = new DataSet();
adp.Fill(ds, "nr");
dataGridView2.DataSource = ds.Tables["nr"].DefaultView;
conn.Close();