OleDbConnection conn = new OleDbConnection();
conn.ConnectionString ="Provider=Microsoft.Jet.OLEDB.4.0; Datasoure= " + Server.MapPath("huiyishi.mdb");
conn.Open();//异常出现行,未找到可安装的ISAM
string sql="select * from shqrTABLE";
OleDbDataAdapter da = new OleDbDataAdapter(sql, conn);
DataSet ds = new DataSet();
da.Fill(ds,"table");
GridView1.DataSource = ds.Tables["table"].DefaultView;
GridView1.DataBind();