OK, attached to this thread is a project that gets data from a DB and populates a treeview.
Now. I have the UI objects Users, User, Tasks and Task.
These contain the data and are completely seperate from the database tier.
Now. I am trying to write this in .NET.
I am using a DataSet to pass the data from the Database tier to the UI Objects tier.
However, I have been told at work that the DataSet can REPLACE my UI objects completely and the UI can use the DataSet directly. Is this good practice?
I would have said no as this is like passing a disconnected recordset (VB6) up through all the tiers...
Here's a .NET app. All the tiers are in one app for simplicity.
I populate the class structure via a dataset. Is this correct?
U may need to change the conn string to use the access DB in the above example.