protected void Button3_Click(object sender, EventArgs e)
        {
            if (TextBox27.Text == "0")
            {
                Eggrafo.Insert();
                TextBox30.Text = DropDownList3.SelectedValue;
                Aitima_Dnsi.Insert();
                TextBox30.Text = DropDownList4.SelectedValue;
                Aitima_Dnsi.Insert();
                TextBox30.Text = DropDownList5.SelectedValue;
                Aitima_Dnsi.Insert();
                TextBox30.Text = DropDownList12.SelectedValue;
                Aitima_Dnsi.Insert();
            }
            else
            {
                Eggrafo.Update();
                Aitima_Dnsi.Delete();
                TextBox30.Text = DropDownList3.SelectedValue;
                Aitima_Dnsi.Insert();
                TextBox30.Text = DropDownList4.SelectedValue;
                Aitima_Dnsi.Insert();
                TextBox30.Text = DropDownList5.SelectedValue;
                Aitima_Dnsi.Insert();
                TextBox30.Text = DropDownList12.SelectedValue;
                Aitima_Dnsi.Insert();
            }

            Ypologos.DataBind();
        }
        protected void Button14_Click(object sender, EventArgs e)
        {
            if ((string)Session["Works_Ait_Dap"] == "0")
            {
                if ((string)Session["Works_id_Aitima"] == "0")
                {
                    Eggrafo_Aitima.Insert();

                    TextBox30.Text = DropDownList3.SelectedValue;
                    Aitima_Dnsi.Insert();
                    TextBox30.Text = DropDownList4.SelectedValue;
                    Aitima_Dnsi.Insert();
                    TextBox30.Text = DropDownList5.SelectedValue;
                    Aitima_Dnsi.Insert();
                    TextBox30.Text = DropDownList12.SelectedValue;
                    Aitima_Dnsi.Insert();
                }
                else
                {
                    Eggrafo_Rep.Update();

                    Aitima_Dnsi.Delete();
                    TextBox30.Text = DropDownList3.SelectedValue;
                    Aitima_Dnsi.Insert();
                    TextBox30.Text = DropDownList4.SelectedValue;
                    Aitima_Dnsi.Insert();
                    TextBox30.Text = DropDownList5.SelectedValue;
                    Aitima_Dnsi.Insert();
                    TextBox30.Text = DropDownList12.SelectedValue;
                    Aitima_Dnsi.Insert();
                }
            }
            else
            {
                if ((string)Session["Works_id_Aitima"] == "0")
                {
                    Eggrafo_Aitima_UPDATE.Insert();
                    Eggrafo_Aitima.Update();
                }
                else
                {
                    Eggrafo_Aitima_UPDATE.Update();
                    Aitima_Dnsi.Update();
                }
            }
            Response.Redirect("Works.aspx");
        }