Intersoft Support Center

Bind to DetailsView

You can use ISDataSource with DetailsView from designer. 

This topic will show you how to use ISDataSource along with DetailsView using OverwriteChanges as the ConflictDetection.

To use ISDataSource along with DetailsView

  1. Binding DataSet to ISDataSource. (Use Customers table).
  2. Set ConflictDetection to OverwriteChanges (ISDataSource property).



  3. Bind ISDataSource to DetailView and activate Enable Paging, Enable Inserting, Enable Editing and Enable Deleting.



  4. Change CustomerID column's ReadOnly property to False.

     

  5. The result will be like following:

Previous Next