Esempio n. 1
0
 protected void Submit_Click(object sender, EventArgs e)
 {
     try
     {
         Oplitis myOplitis = new Oplitis();
         BLayer  myBlayer  = new BLayer();
         myOplitis.id       = Convert.ToInt32(id.Text);
         myOplitis.diagrafi = Convert.ToDateTime(deleteDate.Text);
         myBlayer.deleteOplitis(myOplitis);
         Response.Redirect("anafora_diagrafis.aspx");
     }
     catch (Exception ex)
     {
         error.Text = ex.Message.ToString();
     }
 }