This content has been marked as final. Show 2 replies
I assume the error is coming from this line?
param1.DbType = Oracle.DataAccess.Client.OracleDbType.RefCursor
I'm a little surprised that compiles (it doesn't in C# anyway).
Anyway, set OracleDbType, not DbType and see if that helps..
param1.OracleDbType = Oracle.DataAccess.Client.OracleDbType.RefCursor
Also, fyi, this forum is for .NET stored procedures, as opposed to calling stored procedures from .NET. You probably want the ODP forum in the future.. ODP.NET
Hope it helps
Its working now. :)
Thanks alot. :)