Click here to Skip to main content
14,689,402 members
Home » Discussions » C#
   

C#

 
GeneralRe: WMI Pin
arkiboys12-Jun-09 9:08
Memberarkiboys12-Jun-09 9:08 
GeneralRe: WMI Pin
Dave Kreskowiak12-Jun-09 12:15
mveDave Kreskowiak12-Jun-09 12:15 
GeneralRe: WMI [modified] Pin
arkiboys14-Jun-09 21:31
Memberarkiboys14-Jun-09 21:31 
Questioncannot insert into database 2005 using visual c# 2008 Pin
Adekolurejo12-Jun-09 3:01
MemberAdekolurejo12-Jun-09 3:01 
AnswerRe: cannot insert into database 2005 using visual c# 2008 Pin
Nagy Vilmos12-Jun-09 3:26
professionalNagy Vilmos12-Jun-09 3:26 
AnswerRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 3:37
MemberRob Philpott12-Jun-09 3:37 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
PIEBALDconsult12-Jun-09 4:49
professionalPIEBALDconsult12-Jun-09 4:49 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 5:12
MemberRob Philpott12-Jun-09 5: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 10:21
professionalPIEBALDconsult12-Jun-09 10:21 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott13-Jun-09 0:17
MemberRob Philpott13-Jun-09 0:17 
QuestionFileWather Path Error [modified][Solved] Pin
MumbleB12-Jun-09 2:58
MemberMumbleB12-Jun-09 2:58 
AnswerRe: FileWather Path Error Pin
_AnsHUMAN_ 12-Jun-09 3:02
Member_AnsHUMAN_ 12-Jun-09 3:02 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:09
MemberMumbleB12-Jun-09 3:09 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 3:17
professionalNagy Vilmos12-Jun-09 3:17 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:28
MemberMumbleB12-Jun-09 3:28 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 3:39
professionalNagy Vilmos12-Jun-09 3:39 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:48
MemberMumbleB12-Jun-09 3:48 
QuestionFocus on a searched text in richtextbox Pin
rakeshs31212-Jun-09 2:55
Memberrakeshs31212-Jun-09 2:55 
AnswerRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 3:34
sitebuilderLuc Pattyn12-Jun-09 3:34 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:37
professionalNagy Vilmos12-Jun-09 3:37 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 4:11
sitebuilderLuc Pattyn12-Jun-09 4:11 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 4:53
professionalNagy Vilmos12-Jun-09 4:53 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 5:00
sitebuilderLuc Pattyn12-Jun-09 5:00 
AnswerRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:37
professionalNagy Vilmos12-Jun-09 3:37 
QuestionWifi disconnection problem in windosce application Pin
obalesu12-Jun-09 2:43
Memberobalesu12-Jun-09 2: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.