Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: outlook contacts Pin
michaelgr124-May-10 23:46
michaelgr124-May-10 23:46 
GeneralRe: outlook contacts Pin
Eddy Vluggen25-May-10 5:25
professionalEddy Vluggen25-May-10 5:25 
QuestionPass Parameter in Method in .NET Pin
Isaac Gordon24-May-10 21:32
Isaac Gordon24-May-10 21:32 
AnswerRe: Pass Parameter in Method in .NET Pin
Richard MacCutchan24-May-10 21:41
mveRichard MacCutchan24-May-10 21:41 
AnswerRe: Pass Parameter in Method in .NET [modified] Pin
Hristo-Bojilov24-May-10 21:42
Hristo-Bojilov24-May-10 21:42 
GeneralRe: Pass Parameter in Method in .NET Pin
Isaac Gordon24-May-10 21:59
Isaac Gordon24-May-10 21:59 
GeneralRe: Pass Parameter in Method in .NET Pin
Hristo-Bojilov24-May-10 22:12
Hristo-Bojilov24-May-10 22:12 
GeneralRe: Pass Parameter in Method in .NET Pin
Łukasz Nowakowski24-May-10 22:45
Łukasz Nowakowski24-May-10 22:45 
Well, to my knowledge you don't have to. Using System.DBNull.Value is required when you retrieve data from nullable column in database. But if you pass parameter through SqlCommand.Parameters, .NET does some magic and sends data, that SQL server understands as DBNull value.
However, when you retrieve data from database, the value in SqlDataReader is DBNull.Value, and it's of course not the same as null in C#.
GeneralRe: Pass Parameter in Method in .NET Pin
Hristo-Bojilov24-May-10 22:50
Hristo-Bojilov24-May-10 22:50 
GeneralRe: Pass Parameter in Method in .NET Pin
Łukasz Nowakowski24-May-10 22:59
Łukasz Nowakowski24-May-10 22:59 
GeneralRe: Pass Parameter in Method in .NET Pin
Hristo-Bojilov24-May-10 23:06
Hristo-Bojilov24-May-10 23:06 
GeneralRe: Pass Parameter in Method in .NET Pin
Łukasz Nowakowski24-May-10 23:13
Łukasz Nowakowski24-May-10 23:13 
AnswerRe: Pass Parameter in Method in .NET Pin
Abhinav S25-May-10 2:37
Abhinav S25-May-10 2:37 
QuestionHow to persist user input value in textbox in windows application? Pin
amit_8324-May-10 21:06
professionalamit_8324-May-10 21:06 
AnswerRe: How to persist user input value in textbox in windows application? Pin
Peace ON24-May-10 21:09
Peace ON24-May-10 21:09 
QuestionWeb Project Type not available Pin
satsumatable24-May-10 19:06
satsumatable24-May-10 19:06 
AnswerRe: Web Project Type not available Pin
Peace ON24-May-10 20:45
Peace ON24-May-10 20:45 
QuestionSerialization Problem Pin
Kevin Marois24-May-10 13:00
professionalKevin Marois24-May-10 13:00 
AnswerRe: Serialization Problem Pin
William Winner24-May-10 13:07
William Winner24-May-10 13:07 
GeneralRe: Serialization Problem Pin
Kevin Marois24-May-10 13:08
professionalKevin Marois24-May-10 13:08 
GeneralRe: Serialization Problem Pin
William Winner24-May-10 13:10
William Winner24-May-10 13:10 
GeneralRe: Serialization Problem Pin
Kevin Marois24-May-10 13:13
professionalKevin Marois24-May-10 13:13 
GeneralRe: Serialization Problem Pin
Ravi Bhavnani24-May-10 14:35
professionalRavi Bhavnani24-May-10 14:35 
QuestionFtpWebRequest accepting a port number when UsePassive = true. Does this violate RFC 959? Pin
Alaric_24-May-10 8:47
professionalAlaric_24-May-10 8:47 
QuestionIterator, foreach, IEnumerable IEnumerator for a beginner :s Pin
bon_chan24-May-10 7:47
bon_chan24-May-10 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.