0
I made a select to fetch an account and upload the sub account and would like your opinion to see if this is how you do it
code
    private void cbbConta_SelectedIndexChanged(object sender, EventArgs e)
    {
        PlanoContasDTO objPlanoConta = new PlanoContasDTO();
        objPlanoConta.DescricaoPlanoContas = cbbConta.Text;
        objPlanoConta = new PlanoContasModel().PesqContaNome(objPlanoConta);
        int conta = objPlanoConta.CodConta;
        CarregarSubContaCombo(conta);
    }
follow the screenshots of the screen
Choose the consumer account
Choosing the Account sub-account
so far this account is right R=Revenue and does not appear in expenses



unfortunately it was not clear your question, maybe if you had the image would be better, but I believe the error is in the index that you are passing as parameter: cbbConta.Selectedindex + 1; usually you do not need to add another one
– Thiago Friedman
put the images
– Denilson Carlos