這幾天研究了NerdDinner這個案例,不僅對asp.net mvc架構弄明白了,同時學習了linq to sql中的使用。我們平時在開發的過程中,需要使用ORM技術來封裝資料庫,以便我們可以很好的操縱資料庫中的表,以前,我們可以會使用codesmith來自己寫自動產生模板或者使用第三方的代碼產生工具。現在都不用了,微軟已經為我們提供了Linq to sql這個很好用的技術,它可以將我們的資料持久化。LINQ的這種開發模式也改變了系統架構的搭建方式,在以往的系統中,資料訪問層DAL
SPListTemplateType 在開發建立列表的時候,用來指定一個建立列表的類型AdminTasksAdministrator Tasks. Value = 1200. AgendaAgenda (Meeting). Value = 201. AnnouncementsAnnouncements. Value = 104. CategoriesCategories (Blog). Value = 303. CommentsComments (Blog). Value = 3
Close() and Dispose() are basically the same thing on an ADO.NET connection object for providers shipped by Microsoft, and typically for 3rd party providers as well (haven't seen one that does it differently, but you never know :). The only
All of us have read thrilling stories in which the hero had only a limited andspecified time to live. Sometimes it was as long as a year; sometimes as short astwenty-four hours. But always we were interested in discovering just how the doom-ed man
I found there was a bug in System.Web.UI.WebControls.DropDownList recently. When I created items for a DropDownList control using DropDownList.DataBind method, an exception was always thrown. The error message looked like:'DropDownList_Option' has a