TAILIEUCHUNG - ASP.NET 4 Unleased - p 153

Xây dựng các ứng dụng dữ liệu động Các thư mục quan trọng của tầm quan trọng ở đây là thư mục DynamicData. Một thư mục nội dung phục vụ như là một thư mục gốc cho tất cả các nội dung của bạn và các phương tiện truyền thông. | 1494 CHAPTER 32 Building Dynamic Data Applications The key folder of importance here is the DynamicData folder. A content folder serves as a root folder for all your content and media. The EntityTemplates folder contains user controls that apply to screens that deal with an individual entity. This folder comes with files for rendering an entity editing an entity and inserting a new entity. These files work against any entity type and are generic. This is a great starting point but you can also customize these later and tailor the UI more specifically to your schema as you see later in the chapter. Also worth looking at is the FieldTemplates folder which contains user controls for rendering read-only and edit-mode views of individual fields. There is a field here for virtually every type of column-level data you can think of including enumerated types email addresses dates decimals and even foreign-key controls such as ForeignKey and ManyToMany. You can t see it clearly in Figure but PageTemplates folder contains default templates for all the different types of pages Details Edit Insert Delete List and ListDetails. It is no coincidence that a page template exists for each of the different types of reusable data-driven application patterns we mentioned at the beginning of the chapter. Cnlirtxin Fxpio a j a DynamkDataDetno Prnpertir References jj App Data a 3 DynamkOata a 2 Cnntrnt _J linage-. 1 J CuttnmPaqrt a Entity Template E Delaultaiu 1 Default Editatcx a Field I ernplalei E 1 E Children Imertesui 1 DateTimeascx 1- DatrTime_F 1 b E J 1- E KnegnKey sa b 1 ForergnKey Editasa 1- Ma rry I uMa 1 ManyToMany Edit-asa i- E Terrata j let Editasa B l Urt ata Ta Filter web config b a Seriptt W Solution Explorer t Team Explorer FIGURE Default Project Created By ASPNET

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.