Intersoft Support Center

Bind to Multiple Controls

This walkthrough shows you how to perform binding to multiple controls using ISDataSource.

During this walkthrough, you will learn how to do the following:

  • Use ISDataSource control.
  • Configure Data Source.

 Prerequisites

In order to complete this walkthrough, you will need the following:

  • DataSet Component in App_Code.
  • Visual Studio 2005/2008/2010 Application.

 Step-By-Step Instructions

To bind multiple controls using ISDataSource  

  1. Drag ISDataSource control from toolbox to the WebForm.
  2. Configure Data Source for the newly created ISDataSource.
  3. Select DataSet for the SchemaType.
  4. Click Schema Name dropdown and select dsNorthWind from the list.



  5. In the next dialog, click AutoGenerate button which is located at the bottom.



  6. Click Finish.
  7. Drag GridView / DetailsView / FormView or others data-bound controls.
  8. Set the DataSourceID (Choose Data Source) to ISDataSource1.
  9. Set the DataMember (View Name) to Categories.
  10. You are all set. Run the page in browser.
Previous Next