Click here to Skip to main content
15,883,901 members
Home / Discussions / C#
   

C#

 
AnswerRe: windows service to check file directory path Pin
Richard Andrew x646-Oct-12 9:56
professionalRichard Andrew x646-Oct-12 9:56 
GeneralRe: windows service to check file directory path Pin
rachel_m6-Oct-12 10:48
rachel_m6-Oct-12 10:48 
AnswerRe: windows service to check file directory path Pin
Eddy Vluggen6-Oct-12 11:28
professionalEddy Vluggen6-Oct-12 11:28 
QuestionHTML Body mail with link button Pin
Murugavel Sadagopan6-Oct-12 9:21
Murugavel Sadagopan6-Oct-12 9:21 
AnswerRe: HTML Body mail with link button Pin
n.podbielski8-Oct-12 23:08
n.podbielski8-Oct-12 23:08 
QuestionC# checking for spaces Pin
rachel_m6-Oct-12 8:44
rachel_m6-Oct-12 8:44 
AnswerRe: C# checking for spaces Pin
Dave Kreskowiak6-Oct-12 10:06
mveDave Kreskowiak6-Oct-12 10:06 
AnswerRe: C# checking for spaces Pin
Richard Andrew x646-Oct-12 10:14
professionalRichard Andrew x646-Oct-12 10:14 
One way to do it would be to use the Trim() method of the string, and if the resulting string is zero characters in length, then you know it's all spaces:

C#
if (myString.Length > 0)
    if (myString.Trim().Length == 0)
        return true; //  String is all spaces




The difficult we do right away...
...the impossible takes slightly longer.

AnswerRe: C# checking for spaces Pin
DaveyM696-Oct-12 11:42
professionalDaveyM696-Oct-12 11:42 
QuestionsqlQuery Pin
Member 94545636-Oct-12 1:14
Member 94545636-Oct-12 1:14 
AnswerRe: sqlQuery Pin
Thomas Daniels6-Oct-12 2:24
mentorThomas Daniels6-Oct-12 2:24 
AnswerRe: sqlQuery Pin
OriginalGriff6-Oct-12 4:49
mveOriginalGriff6-Oct-12 4:49 
Questiontic toe game not working as expected,please help? Pin
Member 94790245-Oct-12 22:59
Member 94790245-Oct-12 22:59 
AnswerRe: tic toe game not working as expected,please help? Pin
Pete O'Hanlon6-Oct-12 1:51
mvePete O'Hanlon6-Oct-12 1:51 
AnswerRe: tic toe game not working as expected,please help? Pin
John Orendt7-Oct-12 0:36
John Orendt7-Oct-12 0:36 
QuestionHow to create a message sender which will use your mobile no and credit but no use of your mobile? Pin
zain_zone5-Oct-12 22:11
zain_zone5-Oct-12 22:11 
AnswerRe: How to create a message sender which will use your mobile no and credit but no use of your mobile? Pin
Eddy Vluggen6-Oct-12 3:45
professionalEddy Vluggen6-Oct-12 3:45 
GeneralRe: How to create a message sender which will use your mobile no and credit but no use of your mobile? Pin
OriginalGriff6-Oct-12 5:00
mveOriginalGriff6-Oct-12 5:00 
QuestionNeed Help UNICODE Pin
Nazim Iqbal5-Oct-12 13:55
Nazim Iqbal5-Oct-12 13:55 
AnswerRe: Need Help UNICODE Pin
Richard MacCutchan5-Oct-12 22:29
mveRichard MacCutchan5-Oct-12 22:29 
QuestionC# search directory paths Pin
rachel_m5-Oct-12 10:43
rachel_m5-Oct-12 10:43 
AnswerRe: C# search directory paths Pin
Eddy Vluggen5-Oct-12 10:49
professionalEddy Vluggen5-Oct-12 10:49 
AnswerRe: C# search directory paths Pin
Richard MacCutchan5-Oct-12 22:28
mveRichard MacCutchan5-Oct-12 22:28 
GeneralRe: C# search directory paths Pin
rachel_m6-Oct-12 9:01
rachel_m6-Oct-12 9:01 
GeneralRe: C# search directory paths Pin
Richard MacCutchan6-Oct-12 21:19
mveRichard MacCutchan6-Oct-12 21:19 

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.