Ejemplo n.º 1
0
    public DataRow IVA_DB(OracleConnection strConexion)
    {
        MCommand objCommand = new MCommand();

        try
        {
            objCommand.Connection = strConexion;

            objCommand.CommandText = "DC_F_IVA_VIGENTE";

            objCommand.agregarRETURNParametro("ivas", OracleDbType.Decimal, 15);

            return(objCommand.ejecutarRegistroSP());
        }
        catch (Exception ex)
        {
            throw new Exception("ERROR Cobranza_DB.DiaPago_DB : " + ex.Message);
        }
    }