且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Microsoft模式和实践3层体系结构命名空间问题

更新时间:2023-11-04 08:04:28

只是你需要这样做



转到

appcode



BLL- - >(我自己的班级)你有类在这里左键单击它选择属性然后转到更改构建动作专业版perty to Compile 。在所有课程和DAL中都这样做。



DAL - > sqlhelper.cs DBBridge.cs(内置clasess)



现在你可以访问BLL类了。给命名空间引用aspx的代码隐藏文件。

simple
simply you are need to do this

go to
appcode

BLL--> (my own classes) You have classes here left click on it select property then go to Change Build action property to Compile. DO this with all classes and also with DAL.

DAL--> sqlhelper.cs DBBridge.cs (built in clasess)

now you can access BLL classes . give the namespace reference to aspx's codebehind file.
simple