Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I am new for MVC application, just created one MVC application using database first approach (.edmx file).

I’ve done insert, update, delete and select functionality but when we insert the new record (firstName) as blank it will throw the error because in table allow null is false, means we need to insert the value into text box.
How to validate text box before submit button

Thanks,
Vaibhav
Posted

 
Share this answer
 
 
Share this answer
 
Comments
$*Developer - Vaibhav*$ 29-Jul-14 8:52am    
Thanks Nirav,

Q1. EntityData Access Model genrate model class automaticaly? in his designer file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900