该文被密码保护。 Read More
posted @ 2010-12-24 17:46 庚武 Views(3) Comments(0) Diggs(0) Edit
In the first part of this chapter, you’ll learn about model binding, which is a powerful MVCFramework feature for handling data entry using conventions rather than writing lots of code.After that, you’ll see how to apply your knowledge of controllers, views, model binding, andMVC architecture with r Read More
posted @ 2010-12-24 14:45 庚武 Views(336) Comments(0) Diggs(0) Edit
Rendering ViewData Items Using ViewData.EvalOne of the main uses for inline code is to pull out and display data from ViewData, either bytreating it as a dictionary (e.g., %= ViewData["message"] %) or as a strongly typed object(e.g., %= Model.LastUpdateDate.Year %). What you haven’t seen yet is Read More
posted @ 2010-12-24 11:28 庚武 Views(243) Comments(0) Diggs(0) Edit