private void invoice_Load(object sender, EventArgs e) { dgv_invoice.DataSource = bc.SelectAll("invoice"); Products.ValueMember = "id"; Products.DisplayMember = "name"; Products.DataSource = sc.SelectAll(); checkPermission(); }
private void invoice_Load(object sender, EventArgs e) { dgv_invoice.DataSource = bc.SelectAll("invoice"); Products.ValueMember = "id"; Products.DisplayMember = "name"; Products.DataSource = sc.SelectAll(); checkPermission(); }