Click here to Skip to main content
15,849,768 members
Home / Discussions / C#
   

C#

 
NewsVery bad FLAW IN .NET CLR Pin
Mike SS19-Apr-06 9:25
Mike SS19-Apr-06 9:25 
AnswerRe: Very bad FLAW IN .NET CLR Pin
leppie20-Apr-06 2:04
leppie20-Apr-06 2:04 
QuestionHelp needed in winforms Pin
satishrg19-Apr-06 8:46
satishrg19-Apr-06 8:46 
QuestionVSProject Project references collection Pin
acuze10419-Apr-06 8:38
acuze10419-Apr-06 8:38 
QuestionStrings to ints Pin
sroberts8219-Apr-06 8:03
sroberts8219-Apr-06 8:03 
AnswerRe: Strings to ints Pin
Drew McGhie19-Apr-06 8:23
Drew McGhie19-Apr-06 8:23 
AnswerRe: Strings to ints Pin
Stefan Troschuetz19-Apr-06 8:39
Stefan Troschuetz19-Apr-06 8:39 
AnswerRe: Strings to ints Pin
ldaoust19-Apr-06 11:30
ldaoust19-Apr-06 11:30 
You could use a regular expression to test the string to see that all characters are numeric.

Somthing like:
private static Regex _isNumber = new Regex(@"^\d+$");

public static bool IsInteger(string theValue)
{
    Match m = _isNumber.Match(theValue);
    return m.Success;
}

*not tested


Louis
* google is your friend *

-- modified at 16:36 Wednesday 19th April, 2006
AnswerRe: Strings to ints Pin
The Nemesis19-Apr-06 21:02
The Nemesis19-Apr-06 21:02 
QuestionUI Design Samples Pin
Leyu19-Apr-06 7:56
Leyu19-Apr-06 7:56 
AnswerRe: UI Design Samples Pin
LongRange.Shooter19-Apr-06 11:58
LongRange.Shooter19-Apr-06 11:58 
QuestionCrystal Reports-how can I set a userdefined Datasource as reportdatsource Pin
rosenvas19-Apr-06 6:40
rosenvas19-Apr-06 6:40 
QuestionWord Export Pin
RobsonDasilva19-Apr-06 6:32
RobsonDasilva19-Apr-06 6:32 
QuestionRunning two thread Pin
mehrdadc4819-Apr-06 6:06
mehrdadc4819-Apr-06 6:06 
AnswerRe: Running two thread Pin
LongRange.Shooter19-Apr-06 6:31
LongRange.Shooter19-Apr-06 6:31 
QuestionHow to get software information that is installed in window?? Pin
Real Coder19-Apr-06 5:58
Real Coder19-Apr-06 5:58 
AnswerRe: How to get software information that is installed in window?? Pin
Robert Rohde19-Apr-06 6:02
Robert Rohde19-Apr-06 6:02 
GeneralRe: How to get software information that is installed in window?? Pin
Real Coder19-Apr-06 6:11
Real Coder19-Apr-06 6:11 
GeneralI don't have Microsoft.Win32^^;; Pin
Real Coder19-Apr-06 7:23
Real Coder19-Apr-06 7:23 
GeneralRe: I don't have Microsoft.Win32^^;; Pin
Robert Rohde19-Apr-06 10:40
Robert Rohde19-Apr-06 10:40 
GeneralRe: I don't have Microsoft.Win32^^;; Pin
Real Coder19-Apr-06 19:25
Real Coder19-Apr-06 19:25 
QuestionManaging close button ? Pin
mehrdadc4819-Apr-06 5:55
mehrdadc4819-Apr-06 5:55 
AnswerRe: Managing close button ? Pin
Robert Rohde19-Apr-06 6:04
Robert Rohde19-Apr-06 6:04 
QuestionPrint dialog as e.g. in notepad (WinXP, IE) Pin
Wizard_0119-Apr-06 4:53
Wizard_0119-Apr-06 4:53 
AnswerRe: Print dialog as e.g. in notepad (WinXP, IE) Pin
Ed.Poore19-Apr-06 10:15
Ed.Poore19-Apr-06 10:15 

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.