コード例 #1
0
        public void initializareComboBox()
        {
            BLItems   blItems  = new BLItems();
            DataTable articole = blItems.GetItems();

            cbItems.DataSource    = articole;
            cbItems.DisplayMember = "ItemName";
            cbItems.ValueMember   = "ItemId";
        }