Updating to a database from a detailsview template field
Now, you can start an example again and joy in new features.
By default, Details View control has Auto Generate Rows property set to true.
In the Insert Item Template I am using a Text Box control with the ID "txt First Name".
This means that when you press the new link the Text Box will be shown which will allow you to insert new information (First Name, Last Name etc).
NET 2.0 or later we can use specialized Details View and Form View controls. If you only need to show record in read-only mode, your data source control needs only Select command.
In this example, I will use Sql Data Source control to bind Details View to SQl Server database. You can create these tables in your database with SQL code like this: For table Products Fill tables with some data and run the example to see how it works.