Three (3) Tier architecture and .NET design mode

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

How do you guys implement 3-tier applications with .NET's design mode
controls.
For example, on an ASP .NET form, the SQLDataSource and the Gridview belong
in 2 different tiers. If they are supposed to be in 2 separate DLLs, how can
I have them on the webform and plug them in together?

Thanks in advance,

Richard
 
Thus wrote Richard,
Hello,

How do you guys implement 3-tier applications with .NET's design mode
controls.
For example, on an ASP .NET form, the SQLDataSource and the Gridview
belong
in 2 different tiers. If they are supposed to be in 2 separate DLLs,
how can
I have them on the webform and plug them in together?
Thanks in advance,

I'm assuming you're referring to a 3-layered approach (tiers are runtime
abstractions, whereas layers are software abstractions).

The SqlDataSource doesn't work here, as it gives User Interface components
a direct access to data without any governing Business Layer in between.
Use an ObjectDataSource for a three layered application architecture.

Cheers,
 
Thank you.

By using the ObjectDataSource don't we lose the ability to design the forms
with the data controls and do the binding, etc in the VB.NET designer?

Thanks in advance,

Richard
 
Thus wrote Richard,
Thank you.

By using the ObjectDataSource don't we lose the ability to design the
forms with the data controls and do the binding, etc in the VB.NET
designer?

No :-)

Cheers,
 
Back
Top