예제 #1
0
        private void frmNuocSX_Load(object sender, EventArgs e)
        {
            DataTable dtNsx = new DataTable();

            dtNsx            = nsxCtrl.getData();
            dgvds.DataSource = dtNsx;
            binding();
        }
예제 #2
0
        private void cmbnsx_MouseClick(object sender, MouseEventArgs e)
        {
            DataTable dtNsx = new DataTable();

            dtNsx                = nsxCtrl.getData();
            cmbnsx.DataSource    = dtNsx;
            cmbnsx.DisplayMember = "TENNSX";
        }