//加载餐桌
        private void LoadAllDeskInfoByDelFlag(int p)
        {
            DeskInfoBLL dkBll = new DeskInfoBLL();

            dgvDesk.AutoGenerateColumns = false;
            dgvDesk.DataSource          = dkBll.GetAllDeskInfoByDelFlag(p);
            dgvDesk.ClearSelection();//清楚默认选中的行
        }
Beispiel #2
0
        private void LoadDeskInfoByDelFlag(int p)
        {
            DeskInfoBLL bll = new DeskInfoBLL();

            dgvDeskInfo.AutoGenerateColumns      = false;
            dgvDeskInfo.DataSource               = bll.GetAllDeskInfoByDelFlag(p);
            dgvDeskInfo.SelectedRows[0].Selected = false;
        }
Beispiel #3
0
 private void LoadAllDeskInfoByDelFlag(int p)
 {
     //  DeskInfoBLL bll = new DeskInfoBLL();
     dgvDesk.AutoGenerateColumns = false;
     dgvDesk.DataSource          = bll.GetAllDeskInfoByDelFlag(p);
 }