Beginning ASP.NET 1.1 with Visual C# .NET 2003 phần 10

Phần mở rộng này cho Matrix web là một dịch vụ web đang được xác định. Bạn có thể tạo ra một dịch vụ Web giống như một trang tiêu chuẩn, bằng cách sử dụng Web Matrix (như chúng ta đã làm trước đó trong chương) hoặc bất kỳ trình soạn thảo văn bản. Một dịch vụ Web phải có bốn phần thiết yếu | Appendix D Figure D-38 Formatting Blocks of Code I often find Visual Studio .NET a bit messy at times - after adding this table you can see that the code generated on my system was hardly tidy. In my default preferences you can specify your own preferences via Tools I Options from the main menu I specified that I wanted all tags to be in lowercase when editing HTML code and I wanted to use two spaces indentation for all lines of code yet the editor added the code shown in Figure D-39 782 Web Application Development Using Visual Studio .NET Figure D-39 The solution to this problem is to select all the code and use the Edit I Advanced I Format Document menu option. After running this my code was spaced out a bit better and my preferred capitalization rules were followed as can be seen in Figure D-40 783 Appendix D Figure D-40 You will find that the results of this will vary according to the default preferences you have on your system but once you have set up the defaults as you like them you ll find that this feature can be very handy Developing the User Control In this table set the row and cell attributes as shown in the code below. Leave the last cell empty for the moment tr style VERTICAL-ALIGN middle td style TEXT-ALIGN left width 200 a href img src images border 0 a td td style TEXT-ALIGN center width 400 img src images td td style TEXT-ALIGN right width 200 .

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
248    369    11    22-05-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.