What is ModelState.IsValid valid for in ASP.NET MVC in NerdDinner?

ModelState.IsValid tells you if any model errors have been added to ModelState. The default model binder will add some errors for basic type conversion issues (for example, passing a non-number for something which is an “int”). You can populate ModelState more fully based on whatever validation system you’re using. The sample DataAnnotations model binder will … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)