多线程异步加载大批量数据到Datagridview中,没次加载1000条数据。
引用DLL,调用方法:
string sql = "select top {0} * from {2} where FItemID not in (select top {1} FItemID from {2})";
string tbName = "b_material";
Dictionary dic = new Dictionary();
dic.Add("sql", sql);
dic.Add("tbName", tbName);
dic.Add("sqlConn", "server=192.168.1.254;user=sa;pwd='';database=APS20091223114023");
DgvShowPager d = new DgvShowPager(this.dataGridView1, dic);
d.ShowDataPager();
不明白的可以加我QQ:253874510
1