Click here to Skip to main content
15,886,075 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to use jcrop while uploading image Pin
Richard MacCutchan31-May-16 21:24
mveRichard MacCutchan31-May-16 21:24 
Questionc# string.IsNullOrEmpty Pin
aspkiddy31-May-16 6:59
aspkiddy31-May-16 6:59 
AnswerRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen31-May-16 19:40
professionalEddy Vluggen31-May-16 19:40 
GeneralRe: c# string.IsNullOrEmpty Pin
Bernhard Hiller31-May-16 23:55
Bernhard Hiller31-May-16 23:55 
GeneralRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen1-Jun-16 0:04
professionalEddy Vluggen1-Jun-16 0:04 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 1:19
professionalV.1-Jun-16 1:19 
GeneralRe: c# string.IsNullOrEmpty Pin
Bernhard Hiller1-Jun-16 4:07
Bernhard Hiller1-Jun-16 4:07 
AnswerRe: c# string.IsNullOrEmpty Pin
V.31-May-16 20:09
professionalV.31-May-16 20:09 
As Eddy Vluggen mentioned:
C#
if(dataMySqlReader["user"] != DBNull.Value){
//do this
}
else{
//do that
}

hope this helps.
V.
(MQOTD rules and previous solutions)


modified 1-Jun-16 7:32am.

GeneralRe: c# string.IsNullOrEmpty Pin
Richard Deeming1-Jun-16 1:30
mveRichard Deeming1-Jun-16 1:30 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 1:32
professionalV.1-Jun-16 1:32 
GeneralRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 2:50
aspkiddy1-Jun-16 2:50 
QuestionRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen1-Jun-16 2:52
professionalEddy Vluggen1-Jun-16 2:52 
AnswerRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 3:05
aspkiddy1-Jun-16 3:05 
GeneralRe: c# string.IsNullOrEmpty Pin
Eddy Vluggen1-Jun-16 5:00
professionalEddy Vluggen1-Jun-16 5:00 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 2:52
professionalV.1-Jun-16 2:52 
AnswerRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 2:56
aspkiddy1-Jun-16 2:56 
GeneralRe: c# string.IsNullOrEmpty Pin
V.1-Jun-16 3:00
professionalV.1-Jun-16 3:00 
AnswerRe: c# string.IsNullOrEmpty Pin
aspkiddy1-Jun-16 3:08
aspkiddy1-Jun-16 3:08 
GeneralRe: c# string.IsNullOrEmpty Pin
Matt T Heffron1-Jun-16 9:25
professionalMatt T Heffron1-Jun-16 9:25 
GeneralRe: c# string.IsNullOrEmpty Pin
aspkiddy2-Jun-16 5:12
aspkiddy2-Jun-16 5:12 
AnswerRe: c# string.IsNullOrEmpty Pin
Matt T Heffron2-Jun-16 6:20
professionalMatt T Heffron2-Jun-16 6:20 
QuestionDo I Need The Observer Design Pattern In My Situation Pin
MadDashCoder31-May-16 6:12
MadDashCoder31-May-16 6:12 
AnswerRe: Do I Need The Observer Design Pattern In My Situation Pin
Eddy Vluggen31-May-16 19:42
professionalEddy Vluggen31-May-16 19:42 
GeneralRe: Do I Need The Observer Design Pattern In My Situation Pin
MadDashCoder1-Jun-16 0:51
MadDashCoder1-Jun-16 0:51 
GeneralRe: Do I Need The Observer Design Pattern In My Situation Pin
Eddy Vluggen1-Jun-16 0:57
professionalEddy Vluggen1-Jun-16 0:57 

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.