Đang chuẩn bị liên kết để tải về tài liệu:
Webmaster's Guide to the Wireless Internet part 46

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Webmaster's Guide to the Wireless Internet part 46. The Webmaster’s Guide to the Wireless Internet provides the Wireless Webmaster with all of the tools necessary to build the next generation Internet. Packed with the essential information they need to design, develop, and secure robust, e-commerce enabled wireless Web sites. This book is written for advanced Webmasters who are experienced with conventional Web site design and are now faced with the challenge of creating sites that fit on the display of a Web enabled phone or PDA | 422 Chapter 9 Microsoft Mobile Internet Toolkit Dim childrow As DataRow Dim row As DataRow --add a relation to the dataset---- ds.Relations.Add TitleToAuthor For Each row In ds.Tables titles_table .Rows titleToAdd row title by count 0 For Each childrow In row.GetChildRows TtoA count 1 if count 1 then titleToAdd end if titleToAdd childrow au_fname childrow au_lname Next titles.items.Add titleToAdd Next When viewed using the Pocket PC emulator you should see the screen shown in Figure 9.53. Figure 9.53 Using the Dataset Object www.syngress.com Microsoft Mobile Internet Toolkit Chapter 9 423 Summary This chapter has covered quite a lot of ground for developers wishing to utilize the Microsoft .NET Framework for mobile application development. In particular we have introduced you to how ASP.NET works and how you can use the Microsoft Mobile Internet Toolkit and ADO.NET to develop compelling mobile applications. The current version of the Mobile Internet Toolkit is Beta 2. Since the .NET Mobile Architecture is an extension of the ASP.NET Web Forms developing mobile applications is very similar to developing Web applications. In the early part of this chapter we have seen how ASP.NET addresses the problem of HTTP statelessness using HTML and Web Server Controls. Using the architecture in ASP.NET the Mobile Internet Toolkit allows developers to write mobile applications using the mobile controls and during runtime it automatically will generate the appropriate codes for the mobile devices. The set of mobile controls the Mobile Internet Toolkit provides offers a rich set of functionalities for mobile developers.The nicest feature is that the runtime frees the developer from the arduous tasks of customizing the application for the myriad devices available in the market. In these days any application that is of any use makes use of databases. Developing mobile applications is no different. In the last section of this chapter we cover data access using ADO.NET.ADO.NET is part