private void clbGrupe_SelectedIndexChanged(object sender, EventArgs e) { btnGrupePrikaz.Text = ""; foreach (object o in clbGrupe.CheckedItems) { btnGrupePrikaz.Text += " " + (o as DataRowView)["Naziv"]; } dt.Clear(); if (clbGrupe.CheckedItems.Count != 0) { dt = RadBaza.FilterGrupe(ds, dt, btnGrupePrikaz.Text); } txtNaziv.Text = ""; PromenjenaTabela(); }
private static void Klik(object sender, EventArgs e) { RadBaza.FilterGrupe(ds, dt, (sender as Button).Text); prikazArtikla(); }