By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,760 Members | 1,630 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,760 IT Pros & Developers. It's quick & easy.

calling stored proc from oracle

P: n/a
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.Databa se.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.

Jun 12 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.