public Produse() { InitializeComponent(); cmbCategorie.DataSource = CategoriiOperations.Get(null, null); cmbCategorie.DisplayMember = "Nume_categorie"; dataGridView1.DataSource = ProduseOperations.Get(null, null); }
public DetaliiCategoriiProduse() { InitializeComponent(); categorii = CategoriiOperations.Get(null, null).ToList(); dataGridView1.DataSource = categorii; }