protected void Page_Load(object sender, EventArgs e)
        {
            errorMessage.Visible = false;

            if (!Page.IsPostBack)
            {
                BLayer   myBlayer   = new BLayer();
                DateTime mydatetime = new DateTime();
                mydatetime           = DateTime.Now;
                metaboliDate.Text    = mydatetime.Day.ToString() + "/" + mydatetime.Month.ToString() + "/" + mydatetime.Year.ToString();
                isxysKatigorias.Text = mydatetime.Day.ToString() + "/" + mydatetime.Month.ToString() + "/" + mydatetime.Year.ToString();

                SqlDataReader myDtr = myBlayer.get_Rank();
                DropDownListRank.DataSource = myDtr;
                DropDownListRank.DataBind();

                SqlDataReader myDtr2 = myBlayer.get_Dikaiologitika();
                Dik_Dropdownlist.DataSource = myDtr2;
                Dik_Dropdownlist.DataBind();

                SqlDataReader myDtr4 = myBlayer.get_Oplitis();
                GridViewOplitis.DataSource = myDtr4;
                GridViewOplitis.DataBind();
            }
        }
        protected void search_Click(object sender, EventArgs e)
        {
            BLayer myBlayer = new BLayer();

            TotalOplitis.DataSource = myBlayer.get_Oplitis();
            TotalOplitis.DataBind();
        }
        protected void search_Click(object sender, EventArgs e)
        {
            BLayer        myBlayer = new BLayer();
            SqlDataReader myDtr4   = myBlayer.get_Oplitis();

            GridViewOplitis.DataSource = myDtr4;
            GridViewOplitis.DataBind();
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         DateTime mydatetime = new DateTime();
         mydatetime      = DateTime.Now;
         deleteDate.Text = mydatetime.Day.ToString() + "/" + mydatetime.Month.ToString() + "/" + mydatetime.Year.ToString();
         BLayer myBlayer = new BLayer();
         TotalOplitis.DataSource = myBlayer.get_Oplitis();
         TotalOplitis.DataBind();
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                BLayer        myBlayer = new BLayer();
                SqlDataReader myDtr    = myBlayer.get_Oplitis();
                TotalOplitis.DataSource = myDtr;
                TotalOplitis.DataBind();

                SqlDataReader myDtr1 = myBlayer.get_Misthodosia();
                RadioButtonListMisthodType.DataSource = myDtr1;
                RadioButtonListMisthodType.DataBind();
                error.Visible           = false;
                anaforaPliromis.Visible = false;

                //DateTime mydatetime = new DateTime();
                //mydatetime = DateTime.Now;
                //priromiDate.Text = mydatetime.Day.ToString() + "/" + mydatetime.Month.ToString() + "/" + mydatetime.Year.ToString();
            }
        }