Click here to Skip to main content
15,884,472 members
Home / Discussions / C#
   

C#

 
GeneralRe: WMI Pin
arkiboys12-Jun-09 8:08
arkiboys12-Jun-09 8:08 
GeneralRe: WMI Pin
Dave Kreskowiak12-Jun-09 11:15
mveDave Kreskowiak12-Jun-09 11:15 
GeneralRe: WMI [modified] Pin
arkiboys14-Jun-09 20:31
arkiboys14-Jun-09 20:31 
Questioncannot insert into database 2005 using visual c# 2008 Pin
Adekolurejo12-Jun-09 2:01
Adekolurejo12-Jun-09 2:01 
AnswerRe: cannot insert into database 2005 using visual c# 2008 Pin
Nagy Vilmos12-Jun-09 2:26
professionalNagy Vilmos12-Jun-09 2:26 
AnswerRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 2:37
Rob Philpott12-Jun-09 2:37 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
PIEBALDconsult12-Jun-09 3:49
mvePIEBALDconsult12-Jun-09 3:49 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 4:12
Rob Philpott12-Jun-09 4:12 
I think so, unless I'm getting mad. SqlParameter has a value property, and if you want a sql null you set this to DBNull.Value, or the actual value if there is one. If null, then its like the parameter was never added.

It works well if you write a stored proc and default the value to null in Sql. You can just set the sql parameter to null in code, it doesn't get passed, and defaults to null Sql side.

Regards,
Rob Philpott.

GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
PIEBALDconsult12-Jun-09 9:21
mvePIEBALDconsult12-Jun-09 9:21 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 23:17
Rob Philpott12-Jun-09 23:17 
QuestionFileWather Path Error [modified][Solved] Pin
MumbleB12-Jun-09 1:58
MumbleB12-Jun-09 1:58 
AnswerRe: FileWather Path Error Pin
_AnsHUMAN_ 12-Jun-09 2:02
_AnsHUMAN_ 12-Jun-09 2:02 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:09
MumbleB12-Jun-09 2:09 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 2:17
professionalNagy Vilmos12-Jun-09 2:17 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:28
MumbleB12-Jun-09 2:28 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 2:39
professionalNagy Vilmos12-Jun-09 2:39 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:48
MumbleB12-Jun-09 2:48 
QuestionFocus on a searched text in richtextbox Pin
rakeshs31212-Jun-09 1:55
rakeshs31212-Jun-09 1:55 
AnswerRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 2:34
sitebuilderLuc Pattyn12-Jun-09 2:34 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 2:37
professionalNagy Vilmos12-Jun-09 2:37 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 3:11
sitebuilderLuc Pattyn12-Jun-09 3:11 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:53
professionalNagy Vilmos12-Jun-09 3:53 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 4:00
sitebuilderLuc Pattyn12-Jun-09 4:00 
AnswerRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 2:37
professionalNagy Vilmos12-Jun-09 2:37 
QuestionWifi disconnection problem in windosce application Pin
obalesu12-Jun-09 1:43
obalesu12-Jun-09 1:43 

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.