public void carregaGvOrcamento() { btnCancelar_Click(this, null); Orcamento objOrcamento = new Orcamento(); OrcamentoDAL dbOrcamento = new OrcamentoDAL(); DataTable dtOrcamento = dbOrcamento.ObterListaOrcamentoPorStatus(ref erro); gvOrcamento.DataSource = dtOrcamento; gvOrcamento.AutoGenerateSelectButton = true; gvOrcamento.DataBind(); }