It seems you cannot use existing variable as output parameter, try this way instead
ora_cmd.Parameters.Add("Lc_Exito", OracleDbType.Int32).Direction = ParameterDirection.Output;
ora_cmd.ExecuteNonQuery();
if (ora_cmd.Parameters["Lc_Exito"].value == 0)
More Related Contents:
- Calling Oracle stored procedure from C#?
- Can the Oracle managed driver use async/await properly?
- How can I deploy a .NET application that uses ODAC without installing the whole component to the user?
- OracleParameter and IN Clause
- OraOLEDB.Oracle provider is not registered on the local machine
- Get all checked nodes of a treeview
- Is DateTime.Now the best way to measure a function’s performance? [closed]
- Double to string conversion without scientific notation
- OdbcConnection returning Chinese Characters as “?”
- Best way to compare two complex objects
- What exactly is an “open generic type” in .NET? [duplicate]
- What are attributes in .NET?
- Requested registry access is not allowed
- Immutability of structs [duplicate]
- Getting / setting file owner in C#
- What’s the best way of accessing field in the enclosing class from the nested class?
- Printing to a client printer from a web app
- .NET : How do you get the Type of a null object?
- How to check if IOException is Not-Enough-Disk-Space-Exception type?
- Send JSON via POST in C# and Receive the JSON returned?
- Why does the async keyword exist
- “new” keyword in property declaration in c#
- How to navigate a few folders up?
- Why does Environment.Exit() not terminate the program any more?
- How do you log the machine name via log4net?
- itextsharp – CSS not getting applied – C# .NET
- Target 32 Bit or 64 Bit native DLL depending on environment
- Creating an empty file in C#
- What is the use case for the (C# 7.2) “private protected” modifier?
- Method Overloading with different return type [duplicate]