Click here to Skip to main content
15,911,360 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to check a number is hexadecimal in c# Pin
Vasudevan Deepak Kumar4-Jul-07 20:32
Vasudevan Deepak Kumar4-Jul-07 20:32 
GeneralRe: How to check a number is hexadecimal in c# Pin
Vasudevan Deepak Kumar4-Jul-07 20:08
Vasudevan Deepak Kumar4-Jul-07 20:08 
GeneralRe: How to check a number is hexadecimal in c# Pin
Vasudevan Deepak Kumar4-Jul-07 20:11
Vasudevan Deepak Kumar4-Jul-07 20:11 
AnswerRe: How to check a number is hexadecimal in c# Pin
Vasudevan Deepak Kumar4-Jul-07 20:14
Vasudevan Deepak Kumar4-Jul-07 20:14 
GeneralRe: How to check a number is hexadecimal in c# Pin
Sathesh Sakthivel4-Jul-07 20:18
Sathesh Sakthivel4-Jul-07 20:18 
GeneralRe: How to check a number is hexadecimal in c# Pin
Vasudevan Deepak Kumar4-Jul-07 20:29
Vasudevan Deepak Kumar4-Jul-07 20:29 
AnswerRe: How to check a number is hexadecimal in c# Pin
Blumen4-Jul-07 20:50
Blumen4-Jul-07 20:50 
AnswerRe: How to check a number is hexadecimal in c# [modified] Pin
dekart_roo5-Jul-07 4:57
dekart_roo5-Jul-07 4:57 
Either you've worded this question in a slightly misleading way, or you're not up on your number systems. If you're really asking us how to tell if a number is hexadecimal, that's kind of a moot point. All numbers can be represented as a hexidecimal value. It's not a way of storing or encoding a number persay (with exceptions to the more complex storage systems such as the IEEE floating point,) so much a means of viewing it. If you want to express a number as a hex value, look into .net format strings.

If you're asking how to check a string to see if it represents a hexidecimal value, then I suggest looking into regular expressions. ^0x[\da-fA-F]{1,}$ should suffice as an expression to check against. Though, I'll often append a \s{0,} to either the front or back, to add forgiveness to user input.

-Roo

QuestionHTML designer Pin
Blumen4-Jul-07 19:08
Blumen4-Jul-07 19:08 
QuestionTo make a column of datagrid empty in 2005 Pin
zareee4-Jul-07 19:06
zareee4-Jul-07 19:06 
Question[Message Deleted] Pin
rparsi4-Jul-07 18:39
rparsi4-Jul-07 18:39 
AnswerRe: Help for Search Engine Development Pin
Sathesh Sakthivel4-Jul-07 18:46
Sathesh Sakthivel4-Jul-07 18:46 
GeneralRe: Help for Search Engine Development Pin
rparsi4-Jul-07 18:59
rparsi4-Jul-07 18:59 
GeneralRe: Help for Search Engine Development Pin
Sonia Gupta4-Jul-07 19:05
Sonia Gupta4-Jul-07 19:05 
AnswerRe: Help for Search Engine Development in asp.net with sqlserver database Pin
Michael Sync4-Jul-07 19:04
Michael Sync4-Jul-07 19:04 
AnswerRe: Help for Search Engine Development in asp.net with sqlserver database Pin
vsvasu4-Jul-07 20:32
vsvasu4-Jul-07 20:32 
AnswerRe: Help for Search Engine Development in asp.net with sqlserver database Pin
vsvasu4-Jul-07 20:33
vsvasu4-Jul-07 20:33 
GeneralRe: Help for Search Engine Development in asp.net with sqlserver database Pin
Sathesh Sakthivel4-Jul-07 20:34
Sathesh Sakthivel4-Jul-07 20:34 
AnswerRe: Help for Search Engine Development in asp.net with sqlserver database Pin
Pete O'Hanlon5-Jul-07 0:40
mvePete O'Hanlon5-Jul-07 0:40 
QuestionMSMQs Pin
honeyss4-Jul-07 18:20
honeyss4-Jul-07 18:20 
Questionhow to join two tables Pin
harithadotnet4-Jul-07 18:18
harithadotnet4-Jul-07 18:18 
AnswerRe: how to join two tables Pin
Sathesh Sakthivel4-Jul-07 18:26
Sathesh Sakthivel4-Jul-07 18:26 
AnswerRe: how to join two tables Pin
Michael Sync4-Jul-07 19:05
Michael Sync4-Jul-07 19:05 
QuestionDataGrid ... Pin
moomoooomoo4-Jul-07 17:25
moomoooomoo4-Jul-07 17:25 
AnswerRe: DataGrid ... Pin
Sathesh Sakthivel4-Jul-07 18:09
Sathesh Sakthivel4-Jul-07 18:09 

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.