Generate Web Sites Automatically: Figure 1: Generate Dynamic Data Entry Pages Automatically.
You can use one of four standard templates to create a new ASP.NET Dynamic Data site. Begin by defining a LINQ to SQL or Entity Data Model data layer to create a DataContext or ObjectContext for CRUD operations with a LinqDataSource or EntityDataSource. Partial designer-generated classes define the EntitySets and EntityTypes that populate databound controls. The Dynamic Data runtime generates a dynamic page for each form type (List, Edit, Insert, and Details) and adds dropdown foreign-key lookup lists in GridViews and DetailsViews. It also adds DynamicFilter drop-down lists to GridViews. Custom-page templates substitute static pages and templated ListView or FormView controls for the default dynamic versions. An editable master page and site-wide CSS file enable you to standardize the appearance of all dynamic or static pages.