access查询结果返回到datagridview,请写详细...谢谢!!!
要详细啊!
谢谢各位了!
------解决方案--------------------
OleDbConnection cn=new OleDbConnection("连接字符串");
OleDbDataAdapter da=new OleDbDataAdapter("select top 10 * from 表名",cn);
DataTable dt=new DataTable();
da.Fill(dt);
dataGridView1.DataSource=dt;