Beispiel #1
0
 protected void btnPisma_Click(object sender, EventArgs e)
 {
     using (PoslovniKlubBL temp = new PoslovniKlubBL())
     {
         //DateTime start = Convert.ToDateTime(txtOD.Text);
         DateTime start = DateTime.ParseExact(txtOD.Text, "dd.MM.yyyy", CultureInfo.InvariantCulture);
         DateTime end = DateTime.ParseExact(txtDO.Text, "dd.MM.yyyy", CultureInfo.InvariantCulture);
         txtbrPisama.Text = Convert.ToString(temp.getBrPisama(start, end));
     }
 }