private void TxtEditar_aluno_Click(object sender, EventArgs e)
        {
            CAMADAS.MODEL.Alunos alunos    = new CAMADAS.MODEL.Alunos();
            CAMADAS.BLL.Alunos   bllAlunos = new CAMADAS.BLL.Alunos();
            alunos.Id       = Convert.ToInt32(idtxt.Text);
            alunos.Nome     = Nometxt.Text;
            alunos.Idade    = Convert.ToInt32(Idadetxt.Text);
            alunos.Telefone = Telefonetxt.Text;
            alunos.Dias     = Convert.ToInt32(Diastxt.Text);
            alunos.Multa    = Convert.ToInt32(Multatxt.Text);
            CAMADAS.DAL.Alunos dalAlu = new CAMADAS.DAL.Alunos();
            dalAlu.Update(alunos);

            DtGrvAlunos.DataSource = "";
            DtGrvAlunos.DataSource = dalAlu.Select();
        }
        private void TxtCadastrar_aluno_Click(object sender, EventArgs e)
        {
            CAMADAS.BLL.Alunos   bllAlunos = new CAMADAS.BLL.Alunos();
            CAMADAS.MODEL.Alunos alunos    = new CAMADAS.MODEL.Alunos();
            //String msg = "";
            // string caixa = "ATENÇÃO";
            // if (idtxt.Text != "-1")
            // msg = "Deseja realizar um novo cadastro?";
            alunos.Nome     = Nometxt.Text;
            alunos.Idade    = Convert.ToInt32(Idadetxt.Text);
            alunos.Telefone = Telefonetxt.Text;
            alunos.Dias     = Convert.ToInt32(Diastxt.Text);
            alunos.Multa    = Convert.ToInt32(Multatxt.Text);
            CAMADAS.DAL.Alunos dalAlu = new CAMADAS.DAL.Alunos();
            dalAlu.Insert(alunos);

            DtGrvAlunos.DataSource = "";
            DtGrvAlunos.DataSource = dalAlu.Select();
        }