如何使用三层架构 [英] how to used three tier architecture

查看:92
本文介绍了如何使用三层架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hiii





我想在asp.net中使用三层架构,请发送任何演示。

hiii


I want how to use three tier architecture in asp.net & please send any demo.

推荐答案

嗨...



这里需要1个窗体,2个类用于dal和bal。



1,在这种情况下,dal包含后端的entaire编码(选择r update r delete like)。

2,dal命名空间添加到bal class.after只是cal dal类和传递参数。

3,为webform添加bal命名空间,现在这里只是cal bal class。



喜欢这个,只是思考并理解发生了什么。

i认为可能有助于你。
Hi...

Here take 1webform,2classes for dal and bal.

1, in this case,dal contain entaire coding of backend(select r update r delete like).
2, the dal namespace add to bal class.after that just cal dal class and pass parameters.
3, add bal namespace to webform,now here just cal bal class.

like this,just think and understand what is goes on.
i think may help to u.


试试这个

带有C#的asp.net中的3层架构示例


检查以下链接,他们也有样品:



http://www.aspdotnet-suresh.com/2010/05/introduction-to-3-tier-architecture-in_17.html [ ^ ]



在Codeproject中已经像你一样问过同样的问题,它有很多答案:

ASP.Net 3层体系结构 [ ^ ]
Check the below links, they have samples also:

http://www.aspdotnet-suresh.com/2010/05/introduction-to-3-tier-architecture-in_17.html[^]

Same question already asked like you in Codeproject, and it has got lot of answers:
ASP.Net 3-Tier architecture[^]


这篇关于如何使用三层架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆