Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: messagebox with yes or no using c# in asp.net Pin
Talal Sultan20-May-06 2:49
Talal Sultan20-May-06 2:49 
GeneralRe: messagebox with yes or no using c# in asp.net Pin
ayyp20-May-06 2:52
ayyp20-May-06 2:52 
AnswerRe: messagebox with yes or no using c# in asp.net Pin
Syed Moshiur Murshed20-May-06 7:39
professionalSyed Moshiur Murshed20-May-06 7:39 
GeneralRe: messagebox with yes or no using c# in asp.net Pin
ayyp21-May-06 20:52
ayyp21-May-06 20:52 
GeneralRe: messagebox with yes or no using c# in asp.net Pin
ayyp21-May-06 20:59
ayyp21-May-06 20:59 
QuestionIsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
Rizwan Rathore19-May-06 22:36
Rizwan Rathore19-May-06 22:36 
AnswerRe: IsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
Christian Graus19-May-06 22:41
protectorChristian Graus19-May-06 22:41 
AnswerRe: IsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
coolestCoder19-May-06 22:42
coolestCoder19-May-06 22:42 
Hi,
I dont know about whether there is any in built function for your problem but you can implement this logic in your program by parsing the string character by character and knowing the ASCII codes for them. then compare the ascii codes for each character to be in range of for example numbers, characters or symbols. For this you will have to know the code ranges for numbers, symbols and alphabets in ASCII.

And for inbuilt functions try searching the msdn or msdn online at - http://mdsn.microsoft.com/library

A simple logic would be to convert the string into char[] and then loop in this array to check for Char.IsDigit and Char.IsNumber and Char.IsSymbol, etc....
(I found this after posting the message, so i modified the last post)


Anant Y. Kulkarni

-- modified at 4:45 Saturday 20th May, 2006
GeneralRe: IsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
Christian Graus19-May-06 22:46
protectorChristian Graus19-May-06 22:46 
GeneralRe: IsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
coolestCoder19-May-06 22:54
coolestCoder19-May-06 22:54 
GeneralRe: IsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
Christian Graus19-May-06 22:59
protectorChristian Graus19-May-06 22:59 
GeneralRe: IsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
Rizwan Rathore19-May-06 23:09
Rizwan Rathore19-May-06 23:09 
GeneralRe: IsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
Christian Graus19-May-06 23:20
protectorChristian Graus19-May-06 23:20 
GeneralRe: IsDigit( ) and IsSymbol( ) function in C# [modifed] Pin
Rizwan Rathore19-May-06 23:52
Rizwan Rathore19-May-06 23:52 
QuestionCustom text edit control??? Pin
Cristoff19-May-06 22:17
Cristoff19-May-06 22:17 
AnswerRe: Custom text edit control??? Pin
Christian Graus19-May-06 22:30
protectorChristian Graus19-May-06 22:30 
GeneralRe: Custom text edit control??? [modifed] Pin
Cristoff19-May-06 23:58
Cristoff19-May-06 23:58 
AnswerRe: Custom text edit control??? Pin
leppie20-May-06 4:26
leppie20-May-06 4:26 
GeneralRe: Custom text edit control??? [modifed] Pin
Cristoff20-May-06 5:02
Cristoff20-May-06 5:02 
GeneralRe: Custom text edit control??? [modifed] Pin
leppie20-May-06 5:33
leppie20-May-06 5:33 
GeneralRe: Custom text edit control??? [modifed] Pin
Rei Miyasaka20-May-06 8:57
Rei Miyasaka20-May-06 8:57 
GeneralRe: Custom text edit control??? [modifed] Pin
Cristoff20-May-06 15:03
Cristoff20-May-06 15:03 
Questionmessagebox with yes or no using c# in asp.net [modifed] Pin
ayyp19-May-06 21:50
ayyp19-May-06 21:50 
AnswerRe: messagebox with yes or no using c# in asp.net [modifed] Pin
Christian Graus19-May-06 22:28
protectorChristian Graus19-May-06 22:28 
AnswerRe: messagebox with yes or no using c# in asp.net [modifed] Pin
Christian Graus19-May-06 22:44
protectorChristian Graus19-May-06 22:44 

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.