Intersoft Support Center

Bind to FormView

You can use ISDataSource with FormView from designer. 

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

To use ISDataSource along with FormView

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



  3. Bind ISDataSource to FormView and activate Enable Paging.



  4. In the HTML view (.aspx), change CustomerID's tag from <%# Eval("CustomerID") %> to <%# Bind("FieldName") %>.
    e.g. : <asp:TextBox ID="CustomerIDTextBox" runat="server" Text='<%# Bind("CustomerID") %>'>
  5. The result will be like following:


Previous Next