Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

mvc remote validation additional table

public JsonResult IsUserNameAvailable(string UserName)  
{  
   return Json(db.Users.Any(u => u.UserName == UserName));  
} 
 
PREVIOUS NEXT
Tagged: #mvc #remote #validation #additional #table
ADD COMMENT
Topic
Name
5+5 =