protected void btnSave_Click1(object sender, EventArgs e)
        {
            bool userExist;

            userExist = adminBusiness.userInfo(txtmail.Text);
            if (userExist == false)
            {
                userEntity.EMail    = txtmail.Text;
                userEntity.Password = txtPassword.Text;


                adminBusiness.InsertData(userEntity);
                string strBody = GenerateBodyForReport();
                strBody = string.Format(strBody, txtmail.Text, txtPassword.Text);
                SendEmail(txtmail.Text, "*****@*****.**", "", "", "Expensite Credentials", strBody, null);
                ClearInputControls();
                string strErrorDesc = " Your Mail sent successfully";

                ClientScript.RegisterStartupScript(this.GetType(), "my alert", "alert('" + strErrorDesc + "');", true);
            }
            else
            {
                string strErrorDesc = "please Enter valid Email-Id";
                ClientScript.RegisterStartupScript(this.GetType(), "my alert", "alert('" + strErrorDesc + "');", true);
                //   Response.Write(@"<script language='javascript'>alert('" + strErrorDesc + " .');</script>");
            }
        }
 protected void btnSave_Click(object sender, EventArgs e)
 {
     userEntity.EMail    = txtEmail.Text;
     userEntity.Password = txtPassword.Text;
     adminBusiness.InsertData(userEntity);
     ClearInputControls();
 }