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

Wrox.com Code Downloads for this Chapter

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118311813 on the Download Code tab. The code is in the 311813 C16.zip 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.