Example #1
0
 public void unosRacuna(RacunBLL racun)
 {
     sqlUpit = null;
     sqlUpit = "INSERT INTO  Racun (Broj_racuna, ID_Kupca,Datum_izdavanja_racuna) Values ('"
               + racun.Broj_racuna + "','" + racun.ID_Kupca + "','" + racun.Datum_izdavanja_racuna + "')";
     bk.UnesiObrisi(sqlUpit);
 }
 public PopunaCmBox()
 {
     mesto          = new MestoBLL();
     ulica          = new UlicaBLL();
     adresa         = new AdresaBLL();
     proizvod       = new ProizvodBLL();
     vrstaproizvoda = new VrstaBLL();
     jm             = new JedinicaMereBLL();
     kupac          = new KupacBLL();
     racun          = new RacunBLL();
     stavkaracuna   = new StavkaRacunaBLL();
 }
Example #3
0
 public void brisiRacun(RacunBLL racun)
 {
     sqlUpit = null;
     sqlUpit = "delete from racun where id_racuna=" + racun.ID_Racuna;
     bk.UnesiObrisi(sqlUpit);
 }