如何使用dal类进入登录页面 [英] how to use dal class into login page

查看:101
本文介绍了如何使用dal类进入登录页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在dal类中定义了conn类我想要访问该类进入登录页面



但我无法使用它

dbcon dbcn = new dbcon();

它是错误的,错误的指令和引用正在消失



我的dal类是相同的解决方案。但是在dal文件夹中

i have conn class defined in dal class i want to access that class into login page

but im not able to use it
dbcon dbcn=new dbcon();
it is throuwing errror that missing directive and reference is mssing

my dal class is in same solution.but in dal folder

推荐答案

错误意味着它所说的内容(虽然当你不复制和粘贴它时很难解码) 。您的DAL位于您的项目未引用的dll中,因此无法确定您要加载的内容。
The error means what it says ( although it''s hard to decode when you don''t just copy and paste it ). Your DAL is in a dll which is not referenced by your project, so it can''t work out what you want it to load.


这篇关于如何使用dal类进入登录页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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