This book picks up where Beginning ASP.NET: From Novice to Professional left off, focusing on database programming with ASP.NET. As an ASP.NET developer, you probably need to access your databases quickly and efficiently. This book will provide you with the skills to do so, teaching you best practices and methods that will help achieve professional ASP.NET and database solutions. Beyond the basics of building a Web form and placing a few controls on a page, the most common task required of ASP.NET developers is building a Web site possessing content that is stored in a database. Because general ASP.NET beginner books usually invest so many chapters going through basics, the books don't cover everything involved. Beginning ASP.NET 1.1 Databases: From Novice to Professional is a complete, thorough introduction to this particular topic. The authors show how you can connect a Web site to many different data sources not just databases and use the data to dynamically generate page content. They also show how to build a relational database, use SQL to communicate with it, and understand how they differ from each other.
Youll learn that you often have several ways to achieve the same task, and you'll find out how to decide which option is the most appropriate for the task you face. Of course, this kind of knowledge is only as good as the solutions it helps build. The authors cover the real-world issues youre likely to face, such as design, transactions, error handling, optimization and scalability. We work with SQL Server, Jet, and MySQL databases throughout the book, and we point out the practical differences among these. Finally, we set you on your way at the end with a handy case study that brings together all the things you've learned.
Dan Maharry is a UK-based professional technical author with over a dozen books to his name and many more as technical reviewer and editor for a variety of publishers including Wrox, Apress, Microsoft Press and O'Reilly Associates. He's also a .NET developer with past stints for the dotCoop TLD registry and various web development houses under his belt. He contributes code and documentation to various open source projects and tries to blog and to speak from time to time to user groups about cool stuff. He listens to a lot of new music as he does the above.
Getting Started: Installing MSDE; A Simple Data-driven Web App; Introducing SQL.- ADO.NET Basics: What's ADO.NET? Connecting to the Database; Getting the Data; Using the DataReader; The DataSet and DataAdapter.- Data and the Web: Using Data in ASP.NET Pages; Advanced DataGrid Techniques; Validating User Input; Data in Web Services; Caching Data.- More about Databases: Tables and Relationships; More about SQL; Views and Stored Procedures; Indexes and Constraints; Data Security.- Advanced ADO.NET: ADO.NET and XML; Handling ADO.NET Errors; Transactions; Irregular Data.