예제 #1
0
        private void btnSerch_Click(object sender, EventArgs e)
        {
            DAL.DAL_Config dalConfig = new DAL.DAL_Config();
            dgvcc.DataSource = null;
            DataSet ds = dalConfig.GetList(txtName.Text.Trim(), AppData.OrgCodeList);

            if (ds.Tables[0].Rows.Count > 0)
            {
                dgvcc.DataSource = ds.Tables[0].DefaultView;
            }
        }