Exemplo n.º 1
0
 public decimal WartoscWypo(DateTime Start, DateTime Stop)
 {
     try
     {
         wypWypozyczTableAdapter wypo = new wypWypozyczTableAdapter();
         decimal wynik;
         Decimal.TryParse(wypo.WypoSum(Start.Date, Stop.Date).ToString(), out wynik);
         return(wynik);
     }
     catch
     {
         return(0);
     }
 }
Exemplo n.º 2
0
 public Wypo()
 {
     wypozycz = new wypWypozyczTableAdapter();
     wypodni  = new wypWypoDniTableAdapter();
 }