数据集对象未引用 [英] dataset objects notbeing referred

查看:103
本文介绍了数据集对象未引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我在3层架构的appcode文件夹中使用数据集的Iam.我无法在我的代码中引用数据集对象.请向我提供解决方案

Hi all Iam using dataset in my appcode folder in 3tier architecture.Iam not able to refer dataset objects in my code.Please provide me the solution

推荐答案

可能性很小.为了解释这些,我假设您的数据集位于名为 DSProj 的项目中,而主应用程序位于 MainProj 中:

可能性
1.您的数据集是在DSProj下创建的,并从MainProj中引用.
为此,您需要在MainProj中添加DSProj的引用.

2.您的数据集是在DSProj下创建的,被引用到MainProj,并且也包含引用.
为此,您需要验证您的数据集类是否已声明为私有,将其公开,以便可以从其他项目中引用它.

希望对您有帮助
There are few possibilities. To explain these, I am assuming that your dataset lies in project named DSProj and main application is in MainProj:

Possibilities
1. Your dataset is created under DSProj and is being refered from MainProj.
For this you need to add reference of DSProj in MainProj.

2. Your dataset is created under DSProj and is being refered to MainProj and reference is also included.
For this you need to verify if your dataset class is declared as private, make it public so that it can be refered from other projects.

Hope this help you


这篇关于数据集对象未引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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