摘要:
Step1: Install entity framework using nuget package manager.Step2: Add a class file to the Models folder.(class name must equal connection string name... 阅读全文
posted @ 2015-10-05 20:19
Gester.Lin
阅读(334)
评论(0)
推荐(1)
摘要:
ViewBag and ViewData is a mechanism(机制) to pass data from controller to view.We use '@' symbol(符号) to switch between html and C# code.Both ViewData an... 阅读全文
posted @ 2015-10-05 19:28
Gester.Lin
阅读(234)
评论(0)
推荐(1)
摘要:
Part 2 How are the URL's mapped to Controller Action Methods?The answer is ASP.NET Routing.Notice that in Global.asax we have RegisterRoutes().and pre... 阅读全文
posted @ 2015-10-05 17:36
Gester.Lin
阅读(209)
评论(0)
推荐(1)
摘要:
Part 1 some difference from asp.net to asp.net mvc4In MVC URL's are mapped to controller Action MethodsIn a WebForms URL's are mapped to Physical File... 阅读全文
posted @ 2015-10-05 17:35
Gester.Lin
阅读(205)
评论(2)
推荐(1)

浙公网安备 33010602011771号