@ joecar ....... Joe, you are welcome. Here's another problem with this tutorial:
Stephen Walther, above Figure 13 claims:
Notice that you get form validation automatically.
If you neglect to enter a release date for a movie, or you enter an invalid release date,
then the form is redisplayed and the release date field is highlighted.
This above claim is misleading.
Id int No Nulls
Title nvarchar(100) No Nulls
Director nvarchar(100) No Nulls
DateReleased datetime No Nulls
Examples of validation that is not automatic:
-- it is possible to enter only a date
-- it is possible to enter duplicate records
Since it is clearly a tutorial and since tutorials are for teaching,
it should assume the person working through the tutorial is not
Stephen Walther. Therefore it should say WHAT kind of automatic
validations are possible, how to enable various kinds of automatic
validations, and how to code standard non-automatic validations
such as director must be non blank and movie title must be non blank.
The tutorial concludes "I hope that you discovered that building an
ASP.NET MVC web application is very similar to the experience
of building an Active Server Pages or ASP.NET application." It's
not. Building an ASP.NET WebForms with code behind is very
different. The paradigms are different.
Regards,
Gerry (Lowry)
Gerry Lowry, Principal
Ability Business Computer Services ~~ Because it's your Business, our Experience Counts!
68 John W. Taylor Avenue
Alliston · Ontario · Canada · L9R 0E1 · gerry.lowry@abilitybusinesscomputerservices.com
Websites:
http://abilitybusinesscomputerservices.comhttp://gerrylowryprogrammer.com ~~
résumé & testimonials
http://veganoccasions.com ~~ recipes by
Susan