예제 #1
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            string      strUserName = this.txtUserName.Text;
            P_USER_INFO pui         = new P_USER_INFO();
            DataTable   uidt        = pui.Get_User_Info(strUserName);

            this.dataGridView1.DataSource = null;
            this.dataGridView1.DataSource = uidt;
            XMLHelper xh = new XMLHelper();

            xh.configDGVColumn(this.dataGridView1);

            SetDataGridView sdgv = new SetDataGridView(this.dataGridView1);
        }
예제 #2
0
 private void Form2_AutoSizeChanged(object sender, EventArgs e)
 {
     SetDataGridView sdgv = new SetDataGridView(this.dataGridView1);
 }