protected void Page_Load(object sender, EventArgs e)
        {
            SecretariaDBO s = (SecretariaDBO)Session["Usuario"];

            LblCodigo.Text = s.Codigo.ToUpper();
            LblNome.Text   = s.Nome_Completo.Split(' ')[0];
        }
        protected void BtnEntrar_Click(object sender, EventArgs e)
        {
            string codigo = txtCodigo.Text.Trim();
            string pwd    = txtPassword.Text;

            try
            {
                BDActions     bd = new BDActions();
                SecretariaDBO s  = bd.LoginSecretaria(codigo, pwd);

                Session["Usuario"] = s;

                Response.Redirect("/secretaria/index.aspx");
            }
            catch (Exception ex)
            {
                LblAviso.Text = ex.Message;
            }
        }