| Reinout Heeck 2005-10-09, 3:57 am |
| nave wrote:
> I am using Visual Works 7.3
> I don't no how to connect dataset widget with database.
You don't, not directly.
Typically one would design classes (your domain model), some of which
represent the data from the DB in your image. The domain model sits between
the UI and the DB.
You hook your domain model to the DB using the Object-Relational mapping
libraries.
See $(VISUALWORKS)/doc/DatabaseAppDevGuide.pdf for one library, see
http://glorp.org for a newer one (that is a work in progress).
You will also design a GUI application with a DataSet widget that connects
to your domain model. That is documented in GUIDevGuide.pdf.
Note that the order above is not terribly important, you can implement and
test most of the UI without having the DB access ready or do it the other
way around (as long as your domain model is functioning sufficiently).
HTH,
Reinout
-------
|