how to check existency of a field in mvc -c#.net
Posted by
Amritha444 under
ASP.NET MVC on 2/27/2014 6:47:52 AM |
Points: 75 | Views : 1755 | Status :
[Member]
Hi all
Iam new to MVC Pattern.I want to check a field exist or not.
@Html.TextBoxFor(m => m.employeeid)
@Html.ValidationMessageFor(m => m.employeeid)
When i entered a employee code in textbox want to show msg as id exist if its already exist in database.
How to do this in mvc using any client side scripting ??
Thanks in Advance
Amritha