PC Review


Reply
Thread Tools Rate Thread

Binding to objects or db

 
 
John
Guest
Posts: n/a
 
      11th Jul 2005
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


 
Reply With Quote
 
 
 
 
Chad Z. Hower aka Kudzu
Guest
Posts: n/a
 
      12th Jul 2005
"John" <(E-Mail Removed)> wrote in
news:uxfg$(E-Mail Removed):
> 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.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Blogs: http://www.hower.org/kudzu/blogs
 
Reply With Quote
 
W.G. Ryan MVP
Guest
Posts: n/a
 
      12th Jul 2005
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.
"John" <(E-Mail Removed)> wrote in message
news:uxfg$(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Binding objects Frans Bouma [C# MVP] Microsoft C# .NET 1 14th Jan 2009 08:52 AM
Binding objects ? Jarod Microsoft ASP .NET 1 13th May 2006 08:41 PM
Binding to objects or db John Microsoft VB .NET 2 12th Jul 2005 03:48 PM
binding to objects =?Utf-8?B?cnVmdXM=?= Microsoft Dot NET 1 28th Oct 2004 11:05 AM
Binding between objects =?Utf-8?B?QW50ZXJv?= Microsoft C# .NET 1 9th Jul 2004 05:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:54 AM.