public void LoadData() { IBLL.ISupcustGroup bll = new BLL.SupcustGroupBLL(); DataTable tb = bll.GetALl(); if (tb.Columns.Count < 1) { tb = Conv.Assign <Model.bi_t_supcust_group>(); } this.dgv.DataSource = tb; }