public void ExtractPickUpDemand(string whereStr) { DataTable dt = new ExtractInventoryTool_PickUpDemandBLL().QueryPickUpDemand(whereStr); ExtractPickUpDemandCallbackDel del = ExtractPickUpDemandCallback; dataGridView1.BeginInvoke(del, dt); return; }
/// <summary> /// 查询客户 /// </summary> public void QueryPickUpDemand(string limit, string offset, string whereStr) { int totalCount = 0; DataTable dt = new ExtractInventoryTool_PickUpDemandBLL().QueryPickUpDemand(limit, offset, whereStr, out totalCount); QueryPickUpDemandCallbackDel del = QueryPickUpDemandCallback; dataGridView1.BeginInvoke(del, dt, totalCount); return; }