Binding to objects or db

J

John

Hi

What are the pros and cons of binding ui elements to db objects (tables
etc.) directly versus binding ui to objects which in turn get data from db?
My app does not have a load of business logic.

Thanks

Regards
 
C

Chad Z. Hower aka Kudzu

John said:
What are the pros and cons of binding ui elements to db objects
(tables etc.) directly versus binding ui to objects which in turn get
data from db? My app does not have a load of business logic.

Scalability, future upgrades, expandability.

If its not an enterprise type app, or complicated, scalability is the most notable.
 
W

W.G. Ryan MVP

John - if you're using ADo.NET you're going to bind to an object which got
its data from the DB - there is no connected mode support for databinding as
such so there is no direct link to actual tables. the closest you'll get to
connected access is using a DataReader, but it only moves in one direction
so I doubt this is what you'd anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top