private void query(string str) { this.dgv_warehouseInfo.DataSource = doProjectName.GetList(str).Tables[0]; }