rss
twitter
  •  

Creating ASP.Net Dynamic Website @Visual Studio

| Posted in Uncategorized |

0

Dynamic data enables you to create a data-driven web site with little or no coding

An important feature of Dynamic data is the scaffolding framework. when scaffolding is enabled in a dynamic data web site, ASP.Net analyzes the application’s data model  and generate web pages dynamically based on the data in the data model. these auto generated web pages provide the capability to display, insert, delete and edit data for each table.

 

we have two options of this project template:

  1. ASP.Net Dynamic Data Entities web application
  2. ASP.Net Dynamic Data LINQ to SQL

in our example, let’s try Dynamic Data LINQ to SQL

Capture

the next step, is creating data model using LINQ To SQL (by adding new item –> LINQ To SQL Classes) to your solution and change connection string in the web.config

then, you need to register data @Global file

if you view the default page, you will see list of all tables in your data model, if you press on one table

Post a comment