Updating is not supported by datasource detailsview


I have made the Insert Command bold so you can see it clearly.

As you can see in the code above I have declared three Template Columns inside the Details View control and assigned its Text property to the fields in the database.

Which represent a customized view of data for different data operations such as sorting, filtering, etc.

The Data Source View class serves as the base class for all data source view classes, which define the capabilities of data source controls.

NET for accessing data from SQL Server, from ODBC or OLE DB servers, from XML files, and from business objects.

Based on type of data, these controls could be divided into two categories: Data source views are objects of the Data Source View class.

Yup that's it this will take care of the delete functionality.

You must have an account to comment. Please register or login here!