• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

DataGlue

Typically, when working with recordsets in server-side applications and HTML pages, the most tedious part is formatting the recordset on a page or in a user-interface element, such as a list box. Fortunately, the RecordSet class, in combination with the DataGlue class, simplifies this immensely. The DataGrid and the Dynamic Chart components are perhaps the most impressive, but any data-aware component can be dynamically populated with a RecordSet object with one line of code:

               myComponent.setDataProvider(myRecordset_rs);

This code effectively binds the recordset to the component and creates the visual output in the Flash movie.

Using the DataGlue Class

So-called data-aware components can interact with DataProviderClass objects to easily attach a data source to the component. Components that support DataProviderClass objects include:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint