ASP.NET 1.1 Insider Solutions- P2

Tham khảo tài liệu ' insider solutions- p2', 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ả | 38 1 Web Forms Tips and Tricks LISTING Continued div ItemTemplate EditItemTemplate asp Textbox id txtPrecis runat server TextMode MultiLine Rows 4 Width 300 Style width 300px Text Precis EditItemTemplate asp TemplateColumn You might like to experiment with the CellPadding and CellSpacing properties of the DataGrid control as well as with different values of the border style selector to get a different appearance for the scrollable regions. For example style border 3 inset when CellPadding and CellSpacing are both zero gives a very compact grid-like effect. Loading Controls Dynamically at Runtime When the ASP team at Microsoft was designing it probably seemed obvious that the way forward was to compile the pages into some kind of executable code. This approach means that there is a distinct separation between the tasks and the amount of processing work has to do of generating a page the first time it is executed when it has to be compiled and the resulting code written to disk and subsequent executions of the compiled code. As a result the way that the structure and content of a page are discovered and created from a file containing declarative definitions and code in script runat server sections only affects the initial hit performance and not the performance on subsequent requests. Consequently this has provided a development environment that supports quite complex page creation techniques such as the use of server controls and user controls page and control state maintenance and dynamic creation of a control tree for the page. In particular the use of a developer-accessible control tree has made it really easy to use to build pages that in ASP and many other Web development environments would required complicated statements include directives and other tricks. Being able to create controls dynamically at runtime meanwhile is extremely useful if you don t know beforehand how many instances of a .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
9    79    2    30-06-2024
Đã 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.