tailieunhanh - Professional ASP.NET 3.5 in C# and Visual Basic Part 20

Professional in C# and Visual Basic Part 20. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 3 Web Server Controls Choosing a Date Format to Output from the Calendar When you use the Calendar1_SelectionChanged event the selected date is written out using the ToShortDateString method. The Calendar control also allows you to write out the date in a number of other formats as detailed in the following list ToFileTime Converts the selection to the local operating system file time 128571156000000000. ToFileTimeUtc Converts the selection to the operating system file time but instead of using the local time zone the UTC time is used 128570976000000000. ToLocalTime Converts the current coordinated universal time UTC to local time 6 4 2008 7 00 00 PM. ToLongDateString Converts the selection to a human-readable string in a long format Thursday June 05 2008. ToLongTimeString Converts the selection to a time value no date is included of a long format 12 00 00AM. ToOADate Converts the selection to an OLE Automation date equivalent 3 9 604. ToShortDateString Converts the selection to a human-readable string in a short format 6 4 2008. ToShortTimeString Converts the selection to a time value no date is included in a short format 12 00 AM. ToString Converts the selection to the following 6 4 2008 12 00 00 am. ToUniversalTime Converts the selection to universal time UTC 6 4 2008 6 00 00 AM. Making Day Week or Month Selections By default the Calendar control enables you to make single day selections. You can use the SelectionMode property to change this behavior to allow your users to make week or month selections from the calendar instead. The possible values of this property include Day DayWeek DayWeekMonth and None. The Day setting enables you to click a specific day in the calendar to highlight it this is the default . When you use the setting of DayWeek you can still make individual day selections but you can also click the arrow next to the week see Figure 3-25 to make selections that consist of an entire week. Using the setting of DayWeekMonth lets .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã 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.