Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Money, numeric values
Message
De
15/08/2011 10:39:27
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
15/08/2011 07:13:26
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01520997
Message ID:
01521007
Vues:
46
>Hello. I have an application where the users can input a $0.00 value. I've tried Numeric(10,2) and Money as the data types, but it still says it cannot save the dataset becuase Cost is required. $0.00 is a valid input value.
>
>Thanks.

I think you should put a break point in the Validation Rule for this property and verify if 0.0 is being determined to be no value. I presume since they would be inputing 0.0 that you didn't expect the value to be left null. Some of the framework validation determines 0 to be the same as empty.

Timothy
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform