allow all currency symbols
From: magister (yurps_at_yahoo.co.uk)
Date: 10/20/04
- Next message: Steven Cheng[MSFT]: "Re: Disable Submit Button"
- Previous message: TR: "Add HTML Rows in a html table"
- Next in thread: Peter Blum: "Re: allow all currency symbols"
- Reply: Peter Blum: "Re: allow all currency symbols"
- Messages sorted by: [ date ] [ thread ]
Date: 20 Oct 2004 02:48:17 -0700
Hello,
Is there a way I can validate the input on a textbox for currency
including all currency symbols..
At the moment I have it only for the current culture info, but most
banks use several different currencies...
Thanks for any clues....
Here's what I have so far...
try
{
Result = Double.Parse(args.Value, NumberStyles.Any);
done = true;
}
catch
{
done = false;
}
if (done)
{
args.IsValid = true;
}
else
{
args.IsValid = false;
}
- Next message: Steven Cheng[MSFT]: "Re: Disable Submit Button"
- Previous message: TR: "Add HTML Rows in a html table"
- Next in thread: Peter Blum: "Re: allow all currency symbols"
- Reply: Peter Blum: "Re: allow all currency symbols"
- Messages sorted by: [ date ] [ thread ]