TAILIEUCHUNG - ASP.NET 2.0 Everyday Apps For Dumies 2006 phần 7

Tham khảo tài liệu ' everyday apps for dumies 2006 phần 7', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 7 Building a Product Maintenance Application 239 asp contentplaceholder runat server 3 id ContentPlaceHolder1 asp contentplaceholder div form body html Here are the key points of this listing 1 The Master directive indicates that the file is a Master Page. 2 The Image control displays the banner image that appears at the top of each page. 3 The ContentPlaceHolder control indicates where the content for each page that uses this master will appear. Building the Menu Page The Menu page is the default page for the Product Catalog application. It simply displays a pair of links that let the user go to the Category Maintenance page or the Product Maintenance page. Listing 7-3 shows the code for this page. Listing 7-3 The Menu page De @ Page Language C 1 MasterPageFile AutoEventWireup true CodeFile Inherits _Default Title Acme Pirate Supply asp Content ID Content1 Runat Server 2 ContentPlaceHolderID ContentPlaceHolder1 br Welcome to the Maintenance Application. br br asp LinkButton ID LinkButton1 runat server 3 PostBackUrl Maintain Categories asp LinkButton br br asp LinkButton ID LinkButton2 runat server 4 PostBackUrl Maintain Products asp LinkButton asp Content 240 Part IV Building Back-End Applications Here are some of the key points to note about the code for this page 1 The Page directive uses the MasterPageFile attribute to spec- ify the name of the Master Page. 2 The Content element provides the content that s displayed for the page. 3 The first LinkButton element provides a link to the CatMaint. aspx page. The PostBackUrl attribute is used to post to that page when the user clicks the link. 4 The second LinkButton element provides a link that posts back to the page. Building the Category Maintenance Page The Category Maintenance page lets the user update or delete existing categories or create new categories. It uses a GridView control to let

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.