예제 #1
0
        private void frmSanPham_Load(object sender, EventArgs e)
        {
            GridSP.DataSource = sanphamBUS.GetSanPham();

            cboMaLSP.DataSource    = loaisanphamBUS.GetLoaiSP();
            cboMaLSP.DisplayMember = "TenLoaiSanPham";
            cboMaLSP.ValueMember   = "MaLoaiSanPham";
        }
예제 #2
0
 private void frmLoaiSanPham_Load(object sender, EventArgs e)
 {
     GridLoaiSP.DataSource = loaisanphamBUS.GetLoaiSP();
 }