protected void gdvEmprestimos_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName.Equals("Ver"))
            {
                EmprestimoDAO empDao = new EmprestimoDAO();
                Session["emprestimo"] = empDao.PesquisarEmprestimoPorId(Convert.ToInt32(e.CommandArgument.ToString()));

                GridViewRow clickedRow   = ((LinkButton)e.CommandSource).NamingContainer as GridViewRow;
                Label       lblPagamento = (Label)clickedRow.FindControl("lblPagamento");

                if (lblPagamento.Text.Equals("Débito em Conta"))
                {
                    Session["tipoPagamento"] = "Débito em Conta";
                    Response.Redirect("~/Views/vwsVisualizarPagamentoEmprestimo.aspx");
                }
                else if (lblPagamento.Text.Equals("Boleto"))
                {
                    Session["tipoPagamento"] = "Boleto";
                    Response.Redirect("~/Views/vwsVisualizarPagamentoEmprestimo.aspx");
                }
            }
        }