Contents Index Topic Contents |
Building a Simple Remote Data Service Application
You can use the RDS.DataControl object to create a simple Active Server Pages file that accesses a live database — and you don't have to write a lot of code to do it. You can also use it with ActiveX™ Data Objects to create robust applications that give you a high degree of programming control over the behavior of your application's data.
This tutorial takes the "minimal code" approach, and the Developer's Guide provides more information for using the RDS.DataControl with ActiveX Data Objects and other advanced features. In this tutorial, you will connect to a Microsoft® Access database, display a result set in a data-bound grid, and add the ability to navigate through the displayed Recordset. The following procedure outlines the steps you'll take to create this simple application:
- Identify the database.
- Insert the grid and the RDS.DataControl object.
- Add HTML controls.
- Add code to send a query to the database.
- Add code to submit changes to the database.
- Add code to move through the displayed Recordset.
- See the code in action.
To see a finished version of this sample application with a number of enhancements not described in this tutorial, visit http://<webservername>/MSADC/Samples/ADCTest.asp, where <webservername> is the name of your Web server.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.