

These scripts can be also be downloaded directly from Microsoft, if you'd prefer. In addition to the database file, the App_Data folder also contains the SQL scripts for creating the database, in case you want to use a different database version. (This first tutorial is quite lengthy, but the rest are presented in much more digestible chunks.)įor these tutorials we'll be using a Microsoft SQL Server 2005 Express Edition version of the Northwind database placed in the App_Data directory. Each tutorial is available in C# and Visual Basic versions and includes a download of the complete code used.

These tutorials are geared to be concise and provide step-by-step instructions with plenty of screen shots to walk you through the process visually.
EJABBERD DATA ACCESS LAYER HOW TO
Once this backend groundwork has been laid, we'll move into reporting, showing how to display, summarize, collect, and validate data from a web application. We'll start with creating a software architecture composed of a Data Access Layer (DAL) using Typed DataSets, a Business Logic Layer (BLL) that enforces custom business rules, and a presentation layer composed of ASP.NET pages that share a common page layout. This is the first tutorial in a lengthy series that will explore techniques for implementing these common patterns in ASP.NET 2.0. We create databases to store the data, code to retrieve and modify it, and web pages to collect and summarize it. IntroductionĪs web developers, our lives revolve around working with data. In this tutorial we'll start from the very beginning and create the Data Access Layer (DAL), using typed DataSets, to access the information in a database.
