Example #1
0
 private void dgvPodaci_SelectionChanged(object sender, EventArgs e)
 {
     try
     {
         if (dgvPodaci.Rows.Count > 0 && dgvPodaci.DisplayedRowCount(false) > 0)
         {
             artikl = Artikli.DohvatiArtiklePremaID(dgvPodaci.SelectedRows[0].Cells["id"].Value.ToString());
             dohvatiArtiklia();
         }
     }
     catch (Exception)
     {
         //
     }
 }