TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 143

Professional in C# and Visual Basic Part 143. 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 30 Localization b Culture s Parent Name b br b Culture s Display Name b br b Culture s English Name b br b Culture s Native Name b _ br b Culture s Three Letter ISO Name b _ br b Calendar Type b p End Sub C protected void Page_Load object sender EventArgs e Cultureinfo ci b u CURRENT CULTURE S INFO u b p b Culture s Name b br b Culture s Parent Name b br b Culture s Display Name b br b Culture s English Name b br b Culture s Native Name b br b Culture s Three Letter ISO Name b br b Calendar Type b p Figure 30-2 1384 Chapter 30 Localization This bit of code in the Page_Load event checks the Currentculture property. You can place the result of this value in a Cultureinfo object. To get at this object you import the namespace into your Web page. The Cultureinfo object contains a number of properties that provides you with specific culture information. The following items which are displayed in a series of simple statements are only a small sampling of what is actually available. Running this page produces results similar to what is shown in Figure 30-2. From this figure you can see that the en-US culture is the default setting in which the thread executes. In addition to this you can use the Cultureinfo object to get at a lot of other descriptive information about the culture. You can always change a thread s culture on the

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã 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.