vb.net 3层 [英] vb.net 3 tier

查看:71
本文介绍了vb.net 3层的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用带vb编码的asp.net创建了一个菜单.
它是在3层体系结构中开发的.

在菜单中,有两个项目,一个项目包含与用户有关的详细信息,而另一个项目包含与用户位置有关的详细信息.

我还为此程序在数据库中创建了2个sql表.
我已经创建了用于在数据层中链接这两个表的主键.

I have created a menu using asp.net with vb coding.
It is developed in 3 tier architecture.

In the menu, two items are there, one item contains details related to user and another item contains details related to user location.

I have also created 2 sql tables in a database for this program.
I have created primary keys for linking these 2 tables in data tier.

How can I proceed next?

推荐答案

!),您需要在用户层中设置UI验证(密码不能为空类型的东西).

2)您的业务逻辑(表格等的计算)应进入业务层.

3)从表中获取数据的查询应进入数据层.
!) You need to setup your UI validations (password cannot be blank type stuff) in the User Layer.

2) Your business logic (calculations on the tables etc) should go into the business layer.

3) Queries for fetching data from the tables should go into Data layer.


这篇关于vb.net 3层的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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