从数据源拖动到Windows窗体时执行放置时发生异常 [英] an exception occurred while performing the drop when dragging from datasource to windows form

查看:58
本文介绍了从数据源拖动到Windows窗体时执行放置时发生异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发vb.net Windows表单项目 一个sql服务器数据库 

我的项目使用类型化的数据集将表格 链接到数据库.

一切都很好,直到我添加了 不依赖于数据库表的新数据表,它更像是一个从不同数据源获取数据的视图 数据库表,并尝试将其拖到Windows窗体中.我收到一条弹出消息,说

everything was fine till i added a  new data table that does not depend on a database table its more like a view that gets data from different  database tables and tried to drag it to the windows form. I received a popup message saying

执行放置时发生异常:调用目标已抛出异常" /span>

"an exception occurred while performing the drop : Exception has been thrown by the target of invocation"

由于出现此错误,我不是能够将表格从数据源拖动到Windows窗体

我希望任何人都可以帮忙> ;因为在崩溃之前我尝试了备份到系统,但是也得到了相同的消息

推荐答案

大家好,

Hi Everyone,

我正在开发vb.net Windows表单项目 一个sql服务器数据库 

I am developing a vb.net windows forms project  an a sql server database 

我的项目使用类型化的数据集将表格 链接到数据库.

My project uses a typed dataset to link the forms  to the database.

一切都很好,直到我添加了一个不依赖于数据库表的新数据表,它更像一个视图从不同的数据库表中获取数据,然后尝试将其拖动到 Windows窗体.我收到一条弹出消息,说

everything was fine till i added a  new data table that does not depend on a database table its more like a view that gets data from different  database tables and tried to drag it to the windows form. I received a popup message saying

执行放置时发生异常:调用目标已抛出异常"

"an exception occurred while performing the drop : Exception has been thrown by the target of invocation"

由于出现此错误,我无法将表从数据源拖到Windows窗体中

since this error appeared i am not able anymore to drag tables from datasource to windows form

我希望任何人都可以帮助>因为在崩溃之前我尝试了备份到系统,但是也得到了相同的消息

I ope any one could help > because i tried a backup i 've taken to the system before this crash but also get he same message


这篇关于从数据源拖动到Windows窗体时执行放置时发生异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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