Home » Infrastructure » Windows » How to pass null values in OracleCommand as a parameters (Oracle 11g)
How to pass null values in OracleCommand as a parameters [message #561127] Thu, 19 July 2012 01:20 Go to next message
shmessage
Messages: 5
Registered: July 2012
Junior Member
How to pass null values in OracleCommand as a parameters

i am doing like this
((OracleCommand)cmdMySql).Parameters.Add(":1" ,Varchar2).Value = DBNull.Value;

Its giving error when dataadapter is going to fill.
Re: How to pass null values in OracleCommand as a parameters [message #561136 is a reply to message #561127] Thu, 19 July 2012 01:31 Go to previous messageGo to next message
Michel Cadot
Messages: 68722
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Which language is this?

Regards
Michel
Re: How to pass null values in OracleCommand as a parameters [message #561138 is a reply to message #561136] Thu, 19 July 2012 01:32 Go to previous messageGo to next message
shmessage
Messages: 5
Registered: July 2012
Junior Member
Asp.net with c#
Re: How to pass null values in OracleCommand as a parameters [message #561143 is a reply to message #561138] Thu, 19 July 2012 01:35 Go to previous message
Michel Cadot
Messages: 68722
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
I move the topic to the appropriate forum.

Regards
Michel
Previous Topic: Any Easier Way?
Next Topic: SQLLDR
Goto Forum:
  


Current Time: Wed Dec 11 15:06:04 CST 2024