Example #1
0
        private void Form_Load(object sender, EventArgs e)
        {
            LIST_DAControl pdControl = new LIST_DAControl();
            DataTable      dt        = pdControl.GetAll(ref sErr);

            //dgvFilter.MasterGridViewTemplate.AutoGenerateColumns = false;
            LoadDataGrid(dt);
            flag = false;
            //dgvFilter.CurrentRow = null;
        }
Example #2
0
        private void btnReresh_Click(object sender, EventArgs e)
        {
            LIST_DAControl pdControl = new LIST_DAControl();
            DataTable      dt        = pdControl.GetAll(ref sErr);

            //dgvFilter.MasterGridViewTemplate.AutoGenerateColumns = false;
            dgvLIST_DAView.DataSource = dt;
            //dgvLIST_DAView.AutoSizeColumns();
            SaveLayout();
            flag = false;
            //dgvFilter.CurrentRow = null;
        }