Chapter 17

Dynamic Data Website

What You Will Learn in this Chapter

  • How to create a Dynamic Data website
  • How to change the look and feel of pages as well as the design of individual controls Code Downloads for this Chapter

The code downloads for this chapter are found at on the Download Code tab. The code is in the 311813 download and individually named according to the names given throughout the chapter.

Now that you have seen how to work with databases in a Windows application, let's learn how to work with data using a web application. Starting with Service Pack 1 of Framework 3.5 and Visual Studio 2008, a new site template was shipped. This new template is included in Visual Studio 2012. This template, named Dynamic Data Web Site, allows you to create a data driven site in minutes. The best part about using the new template is that you get a working website with the capability to create, read, update, and delete data in a database without writing any code.

Creating a Dynamic Data Entities Website

This section provides an overview of how to create a website to manage data in the pubs database. You go through a simple wizard, make minor adjustments to the solution, and then you have it. You will be amazed in just a few minutes.

Try It Out: Creating a Dynamic Data Website
All the code in this Try It Out is in the DDA folder in the zip file for this chapter.
1. Start this project by choosing File ⇒ New Web ...

Get Beginning Visual Basic 2012 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.