PC Review


Reply
Thread Tools Rate Thread

calling stored proc from oracle

 
 
=?Utf-8?B?Vmlua2k=?=
Guest
Posts: n/a
 
      12th Jun 2007
I am trying to call oracle stored proc in .net. I also want to use enterprise
library. when I do

db.AddInParameter(dbCommand, "dayPhone", OracleType.VarChar,
strList[9].ToString().Trim());

I get a syntax errror The best overloaded method match for
'Microsoft.Practices.EnterpriseLibrary.Data.Database.AddInParameter(System.Data.Common.DbCommand,
string, System.Data.DbType, object)' has some invalid arguments. When I try
to put dbType.varchar then I get an error that type is wrong. I am not sure
how can I pass a parameter value to oracle.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting the oracle stored proc value in .net =?Utf-8?B?Vmlua2k=?= Microsoft Dot NET 1 13th Jun 2007 02:08 PM
return value from Oracle stored proc =?Utf-8?B?Vmlua2k=?= Microsoft C# .NET 2 12th Jun 2007 10:08 PM
calling oracle stored proc from .net =?Utf-8?B?Vmlua2k=?= Microsoft C# .NET 3 12th Jun 2007 01:34 AM
stored proc /w Oracle and Ado.Net coltrane Microsoft ADO .NET 5 2nd May 2005 12:27 PM
exec Oracle stored proc Microsoft Access Queries 1 28th Oct 2003 12:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:24 PM.