对象引用未设置为对象错误的实例 [英] object reference is not set to instance of object error

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

问题描述

我正在尝试使用TableAdapter配置窗口将数据源连接到tableadapter,并且因为对象引用未设置为tableadapter配置向导中的实例而发生错误。 请帮我解决这个错误。

I am trying to connecting datasource to tableadapter using TableAdapter configuration window and error occured as object reference is not set to an instance in tableadapter configuration wizard.  Please help me to resolve this error.

谢谢..

推荐答案

你好Laxmikrishnan,

Hi Laxmikrishnan,

根据您的描述,我不确定是什么导致了这个问题,请您分享一个可以通过OneDrive重现问题的简单示例。

According to your description, I am not sure what cause the issue, could you please share a simple sample which could reproduce the issue via OneDrive.

另外,这里有两个类似的问题供您参考。

In addition, here are two similar issue for your reference.

https://social.msdn.microsoft.com/Forums/en-US/73049c4d -35eb-4aca-9a50-ee36f6dcace2 / object-reference-not-set-upon-adding-tableadapter-to-dataset-designer?forum = adodotnetdataset

https://stackoverflow.com/questions/9204187 /对象参考未设置到一个实例-的-的对象无效数据集 <啊REF ="https://social.msdn.microsoft.com/Forums/en-US/73049c4d-35eb-4aca-9a50-ee36f6dcace2/object-reference-not-set-upon-adding-tableadapter-to-dataset-designer ?forum = adodotnetdataset">

祝你好运,

张龙


这篇关于对象引用未设置为对象错误的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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