Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Disabling Windows Buttons: Minimize,Restore,Close Pin
Blekk11-Feb-07 6:24
Blekk11-Feb-07 6:24 
GeneralRe: Disabling Windows Buttons: Minimize,Restore,Close Pin
sharpiesharpie11-Feb-07 6:56
sharpiesharpie11-Feb-07 6:56 
QuestionDisplaying a message when closing Pin
Blekk11-Feb-07 3:22
Blekk11-Feb-07 3:22 
AnswerRe: Displaying a message when closing Pin
cellardoor071611-Feb-07 3:46
cellardoor071611-Feb-07 3:46 
GeneralRe: Displaying a message when closing Pin
Blekk11-Feb-07 3:56
Blekk11-Feb-07 3:56 
QuestionIsNumeric Pin
IgorMI511-Feb-07 3:21
IgorMI511-Feb-07 3:21 
AnswerRe: IsNumeric Pin
Stefan Troschuetz11-Feb-07 4:35
Stefan Troschuetz11-Feb-07 4:35 
AnswerRe: IsNumeric Pin
ali_reza_zareian11-Feb-07 10:12
ali_reza_zareian11-Feb-07 10:12 
Hi You can use for loop statment to check each of character.or use
regx class for System.Text.RegularExpressions
Example:
this example check string for currency.
public static void Main ()
{

// Define a regular expression for currency values.
Regex rx = new Regex(@"^-?\d+(\.\d{2})?$");

// Define some test strings.
string[] tests = {"-42", "19.99", "0.001", "100 USD"};

// Check each test string against the regular expression.
foreach (string test in tests)
{
if (rx.IsMatch(test))
{
Console.WriteLine("{0} is a currency value.", test);
}
else
{
Console.WriteLine("{0} is not a currency value.", test);
}
}

}



AnswerRe: IsNumeric Pin
Tim Paaschen11-Feb-07 20:47
Tim Paaschen11-Feb-07 20:47 
QuestionHow to change ms access column name in c# Pin
Neuromancer_11-Feb-07 3:19
Neuromancer_11-Feb-07 3:19 
QuestionIdentifying file type Pin
dream catcher11-Feb-07 1:26
dream catcher11-Feb-07 1:26 
AnswerRe: Identifying file type Pin
sharpiesharpie11-Feb-07 4:50
sharpiesharpie11-Feb-07 4:50 
QuestionUnderstanding the Garbage Collector Pin
AlexZieg7111-Feb-07 1:15
AlexZieg7111-Feb-07 1:15 
AnswerRe: Understanding the Garbage Collector Pin
S. Senthil Kumar11-Feb-07 2:28
S. Senthil Kumar11-Feb-07 2:28 
QuestionSelecting datagrid row by PK Pin
VargaMisha11-Feb-07 1:13
VargaMisha11-Feb-07 1:13 
QuestionI have a bug with a deployment project, help :( Pin
3DoorsDown11-Feb-07 0:53
3DoorsDown11-Feb-07 0:53 
AnswerRe: I have a bug with a deployment project, help :( Pin
Rudolf Jan12-Feb-07 0:33
Rudolf Jan12-Feb-07 0:33 
Questiontree view Help plzzzzzzz capturing cliked node's vale Pin
EEmaan11-Feb-07 0:23
EEmaan11-Feb-07 0:23 
AnswerRe: tree view Help plzzzzzzz capturing cliked node's vale Pin
sharpiesharpie11-Feb-07 4:35
sharpiesharpie11-Feb-07 4:35 
Questionzoom in picture with very details Pin
sahelearamesh10-Feb-07 21:57
sahelearamesh10-Feb-07 21:57 
AnswerRe: zoom in picture with very details Pin
Christian Graus10-Feb-07 22:25
protectorChristian Graus10-Feb-07 22:25 
AnswerRe: zoom in picture with very details Pin
ali_reza_zareian11-Feb-07 10:22
ali_reza_zareian11-Feb-07 10:22 
QuestionUsing embedded xml file Pin
AndrusM10-Feb-07 21:45
AndrusM10-Feb-07 21:45 
AnswerRe: Using embedded xml file Pin
Stefan Troschuetz10-Feb-07 22:48
Stefan Troschuetz10-Feb-07 22:48 
GeneralRe: Using embedded xml file Pin
AndrusM11-Feb-07 10:38
AndrusM11-Feb-07 10:38 

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.