コード例 #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";
        }