Click here to Skip to main content
15,171,729 members
Home / Discussions / C#
   

C#

 
AnswerRe: windows service to check file directory path Pin
Richard Andrew x646-Oct-12 10:56
professionalRichard Andrew x646-Oct-12 10:56 
GeneralRe: windows service to check file directory path Pin
rachel_m6-Oct-12 11:48
Memberrachel_m6-Oct-12 11:48 
AnswerRe: windows service to check file directory path Pin
Eddy Vluggen6-Oct-12 12:28
professionalEddy Vluggen6-Oct-12 12:28 
QuestionHTML Body mail with link button Pin
Murugavel Sadagopan6-Oct-12 10:21
MemberMurugavel Sadagopan6-Oct-12 10:21 
AnswerRe: HTML Body mail with link button Pin
n.podbielski9-Oct-12 0:08
Membern.podbielski9-Oct-12 0:08 
QuestionC# checking for spaces Pin
rachel_m6-Oct-12 9:44
Memberrachel_m6-Oct-12 9:44 
AnswerRe: C# checking for spaces Pin
Dave Kreskowiak6-Oct-12 11:06
mveDave Kreskowiak6-Oct-12 11:06 
AnswerRe: C# checking for spaces Pin
Richard Andrew x646-Oct-12 11:14
professionalRichard Andrew x646-Oct-12 11: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 12:42
professionalDaveyM696-Oct-12 12:42 
QuestionsqlQuery Pin
Member 94545636-Oct-12 2:14
MemberMember 94545636-Oct-12 2:14 
AnswerRe: sqlQuery Pin
Thomas Daniels6-Oct-12 3:24
mentorThomas Daniels6-Oct-12 3:24 
AnswerRe: sqlQuery Pin
OriginalGriff6-Oct-12 5:49
mveOriginalGriff6-Oct-12 5:49 
Questiontic toe game not working as expected,please help? Pin
Member 94790245-Oct-12 23:59
MemberMember 94790245-Oct-12 23:59 
AnswerRe: tic toe game not working as expected,please help? Pin
Pete O'Hanlon6-Oct-12 2:51
mvaPete O'Hanlon6-Oct-12 2:51 
AnswerRe: tic toe game not working as expected,please help? Pin
John Orendt7-Oct-12 1:36
MemberJohn Orendt7-Oct-12 1: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 23:11
Memberzain_zone5-Oct-12 23: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 4:45
professionalEddy Vluggen6-Oct-12 4: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 6:00
mveOriginalGriff6-Oct-12 6:00 
QuestionNeed Help UNICODE Pin
Nazim Iqbal5-Oct-12 14:55
MemberNazim Iqbal5-Oct-12 14:55 
AnswerRe: Need Help UNICODE Pin
Richard MacCutchan5-Oct-12 23:29
mveRichard MacCutchan5-Oct-12 23:29 
QuestionC# search directory paths Pin
rachel_m5-Oct-12 11:43
Memberrachel_m5-Oct-12 11:43 
AnswerRe: C# search directory paths Pin
Eddy Vluggen5-Oct-12 11:49
professionalEddy Vluggen5-Oct-12 11:49 
AnswerRe: C# search directory paths Pin
Richard MacCutchan5-Oct-12 23:28
mveRichard MacCutchan5-Oct-12 23:28 
GeneralRe: C# search directory paths Pin
rachel_m6-Oct-12 10:01
Memberrachel_m6-Oct-12 10:01 
GeneralRe: C# search directory paths Pin
Richard MacCutchan6-Oct-12 22:19
mveRichard MacCutchan6-Oct-12 22: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.