上传者: liudingguoo87
|
上传时间: 2024-01-27 14:24:03
|
文件大小: 9KB
|
文件类型: DLL
多线程异步加载大批量数据到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