Beispiel #1
0
        public bool BuscarNumeroCuenta(string c_NumeroCuenta, int n_IdEmpresa)
        {
            bool      b_result = false;
            CD_con_pc miFun    = new CD_con_pc();

            miFun.mysConec = mysConec;

            miFun.BuscarNumeroCuenta(c_NumeroCuenta, n_IdEmpresa);
            dtLista = miFun.dtLista;
            if (dtLista == null)
            {
                b_OcurrioError = miFun.b_OcurrioError;
                c_ErrorMensaje = miFun.c_ErrorMensaje;
                n_ErrorNumber  = miFun.n_ErrorNumber;
            }
            else
            {
                if (dtLista.Rows.Count != 0)
                {
                    b_result = true;
                }
            }
            return(b_result);
        }