コード例 #1
0
        private void EditSanPham_GUI_Load(object sender, EventArgs e)
        {
            cbNCC.DataSource    = ncc.loadNCC();
            cbNCC.DisplayMember = "TenNCC";
            cbNCC.ValueMember   = "MaNCC";

            cbLoai.DataSource    = lsp.loadLoaiSP();
            cbLoai.DisplayMember = "TenLoaiSanPham";
            cbLoai.ValueMember   = "MaLoaiSanPham";

            txtMaSP.Text = maSP;
        }
コード例 #2
0
 public void loaddgv()
 {
     dgvNCC.DataSource = ncc.loadNCC();
 }