Results 1 to 4 of 4

Thread: Data Aware Class

  1. #1

    Thread Starter
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Are you making a true data provider class (yucky) or do you just want to put your data access layer into a COM component (class) to hide the complexity from the user interface?

  2. #2
    New Member
    Join Date
    Nov 1999
    Posts
    2

    Post

    Can someone provide me with a template for a data-aware class (ie mapping to an Customer table in database DSN XXX).

    showing the retrieval of fields from the table into properties.

    I can't find any documention anywhere

    Thanks very much

  3. #3
    New Member
    Join Date
    Nov 1999
    Posts
    2

    Post

    i was hoping to create a class 'cust' which could bind to a data record (eg customer.

    When calling a method.. eg getcust, would populate all the properties (which map to fields on the record).

    What do you think is the best way to go about this?

    Is this what binding is?

    Thanks for your help

  4. #4

    Thread Starter
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    So you want to use your class like you would a data control? EEK! I've read about how to do it but it seemed more trouble than it was worth. Why don't you use the ADO data control instead?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width