M
magister
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;
}
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;
}