protected void Button1_Click(object sender, EventArgs e)
        {
            if (txbComp_Name.Text.Length == 0 || txbTel.Text.Length == 0 || txbCompCat.Text.Length == 0)
            {
                ScriptManager.RegisterClientScriptBlock(this, this.GetType(),
                                                        "alertMessage",
                                                        "alert('Ελλιπή Στοιχεία !!!!');", true);
            }
            else
            {
                if (CheckBox1.Checked)
                {
                    txbO_C.Text = "1";
                }
                else
                {
                    txbO_C.Text = "0";
                }


                Companies_Grid.Delete();
                Companies_Grid.Insert();
                Companies_Grid.DataBind();
                GridView1.DataBind();
                Response.Redirect("Companies.aspx");
            }
        }
 protected void Button1_Click(object sender, EventArgs e)
 {
     Companies_Grid.Delete();
     Companies_Grid.Insert();
     Companies_Grid.DataBind();
     GridView1.DataBind();
     Response.Redirect("Companies.aspx");
 }