lundi 29 juin 2015

ASP.NET ValidationMessage validate false my double number

I am using NET MVC, EF 6, Entity Data Model to build a site.This page is "Create Sach In the DB, Table Sach, which have fields: Dai, Rong, Cao as float. When running it's allow only int input enter image description here

EF generated class:

But when debug, I enter 1.2 and 1,2, both value are not valid, though they are double! enter image description here

Aucun commentaire:

Enregistrer un commentaire