Click here to Skip to main content
15,908,776 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to work with generic date format Pin
Peter_in_27801-Aug-11 16:30
professionalPeter_in_27801-Aug-11 16:30 
GeneralRe: How to work with generic date format Pin
Luc Pattyn1-Aug-11 16:55
sitebuilderLuc Pattyn1-Aug-11 16:55 
GeneralRe: How to work with generic date format Pin
PIEBALDconsult1-Aug-11 19:08
mvePIEBALDconsult1-Aug-11 19:08 
GeneralRe: How to work with generic date format Pin
Luc Pattyn2-Aug-11 1:34
sitebuilderLuc Pattyn2-Aug-11 1:34 
GeneralRe: How to work with generic date format Pin
PIEBALDconsult2-Aug-11 3:12
mvePIEBALDconsult2-Aug-11 3:12 
AnswerRe: How to work with generic date format Pin
Luc Pattyn2-Aug-11 16:58
sitebuilderLuc Pattyn2-Aug-11 16:58 
GeneralRe: How to work with generic date format Pin
PIEBALDconsult2-Aug-11 17:47
mvePIEBALDconsult2-Aug-11 17:47 
GeneralRe: How to work with generic date format Pin
PIEBALDconsult2-Aug-11 18:39
mvePIEBALDconsult2-Aug-11 18:39 
AnswerRe: How to work with generic date format Pin
Luc Pattyn3-Aug-11 4:41
sitebuilderLuc Pattyn3-Aug-11 4:41 
GeneralRe: How to work with generic date format Pin
PIEBALDconsult3-Aug-11 16:22
mvePIEBALDconsult3-Aug-11 16:22 
GeneralRe: How to work with generic date format Pin
Luc Pattyn3-Aug-11 16:59
sitebuilderLuc Pattyn3-Aug-11 16:59 
GeneralRe: How to work with generic date format [modified] Pin
PIEBALDconsult3-Aug-11 18:44
mvePIEBALDconsult3-Aug-11 18:44 
GeneralRe: How to work with generic date format Pin
Richard Deeming11-Jan-12 5:44
mveRichard Deeming11-Jan-12 5:44 
QuestionRegEx with < or > Pin
econner1-Aug-11 9:55
econner1-Aug-11 9:55 
AnswerRe: RegEx with Pin
PIEBALDconsult1-Aug-11 14:45
mvePIEBALDconsult1-Aug-11 14:45 
AnswerRe: RegEx with Pin
Peter_in_27801-Aug-11 17:18
professionalPeter_in_27801-Aug-11 17:18 
GeneralRe: RegEx with Pin
OriginalGriff1-Aug-11 21:31
mveOriginalGriff1-Aug-11 21:31 
GeneralRe: RegEx with Pin
econner3-Aug-11 4:38
econner3-Aug-11 4:38 
GeneralRe: RegEx with Pin
Peter_in_27803-Aug-11 13:04
professionalPeter_in_27803-Aug-11 13:04 
GeneralRe: RegEx with Pin
econner3-Aug-11 13:27
econner3-Aug-11 13:27 
Basically, I have a field that either can take an integer value up to 3 digits or a decimal value with up to 2 decimal places. I change the mask in code before the screen is displayed. Below is an example of the existing masks.

TextBox1.Mask ='\d?\d?\d?';

OR

TextBox1.Mask = '\d+.\d?\d?';

Now, I need to have the integer mask have the ability to accept a <, > or N/A as well as to have the decimal mask do the same. I need it in two masks because I dont want certain fields to be able to enter decimal values and other fields to have the ability.

I also can set the textbox to foce upper case for (N/A) and set a max length if needed.
GeneralRe: RegEx with [modified] Pin
Peter_in_27803-Aug-11 15:11
professionalPeter_in_27803-Aug-11 15:11 
GeneralRe: RegEx with Pin
econner3-Aug-11 15:32
econner3-Aug-11 15:32 
Questionprocessing ozf2 and ozf3 file with c#? Pin
Mohsen Shahindust1-Aug-11 4:11
Mohsen Shahindust1-Aug-11 4:11 
GeneralRe: processing ozf2 and ozf3 file with c#? Pin
David19871-Aug-11 5:10
David19871-Aug-11 5:10 
GeneralRe: processing ozf2 and ozf3 file with c#? Pin
Mohsen Shahindust1-Aug-11 5:17
Mohsen Shahindust1-Aug-11 5:17 

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.