470,641 Members | 1,693 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,641 developers. It's quick & easy.

Three (3) Tier architecture and .NET design mode

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
Oct 17 '06 #1
3 2322
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,
--
Joerg Jooss
ne********@joergjooss.de
Oct 17 '06 #2
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

"Joerg Jooss" wrote:
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,
--
Joerg Jooss
ne********@joergjooss.de
Oct 17 '06 #3
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,
--
Joerg Jooss
ne********@joergjooss.de
Oct 18 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

25 posts views Thread by David Noble | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.