protected void BtnAdd_Click(object sender, EventArgs e)
 {
     if (BtnAdd.Text == "Add New")
     {
         bobject = new UserInformation();
         blogic = new BusinessLogic.BusinessLogic();
         bobject.Id = Convert.ToInt32(Request.QueryString["Id"]);
         bobject.Name = TxtName.Text;
         bobject.Email = TxtEmail.Text;
         bobject.Age = TxtAge.Text;
         bobject.Address = TxtAddress.Text;
         bobject.Gender = TxtGender.Text;
         bobject.Country = TxtCountry.Text;
         bobject.PhoneNumber = TxtPhone.Text;
         bobject.DateOfBirth = TxtDateOfBirth.Text;
         bobject.Salary = TxtSalary.Text;
         blogic.AddInfo(bobject);
         BindData();
         ClearFeild();
     }
     else
     {
         bobject = new UserInformation();
         blogic = new BusinessLogic.BusinessLogic();
         bobject.Id = Convert.ToInt32(Request.QueryString["Id"]);
         bobject.Name = TxtName.Text;
         bobject.Email = TxtEmail.Text;
         bobject.Age = TxtAge.Text;
         bobject.Address = TxtAddress.Text;
         bobject.Gender = TxtGender.Text;
         bobject.Country = TxtCountry.Text;
         bobject.PhoneNumber = TxtPhone.Text;
         bobject.DateOfBirth = TxtDateOfBirth.Text;
         bobject.Salary = TxtSalary.Text;
         blogic.SaveEdit(bobject);
         BindData();
         ClearFeild();
         BtnAdd.Text = "Add New";
     }
 }