vb.net中的数据网格视图连接问题 [英] datagrid view connection problem in vb.net

查看:74
本文介绍了vb.net中的数据网格视图连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,

在我的项目中,如果我通过datagridview提供与数据库的连接,则意味着它显示这样的错误(发生了意外错误.
错误消息:

Hai All,

In my project if i give connectivity to database through datagridview means it showing the error like this( An unexpected error occurred.
Error message:

Could not load type ''Microsoft.VisualStudio.DataDesign.SyncDesigner.SyncFacade.SyncManager''from Assembly ''Microsoft.VisualStudio.DataDesign.SyncDesigner.DslPackage,Version=9.0.0.0,<br />
Culture=Natural ,PublicKey Token=b03f5f7f11d50a3a''.

)

请帮助我纠正此问题.

所有人的坦克
Rajeshkumar

)

Please Help me to rectify this.

Tanks to all
Rajeshkumar

推荐答案

这是错误类型

您的数据库中的数据类型不同
从您在程序中声明的那个开始.
可能在数据库中,您的关键数据类型是int
并在您的程序中使用String.
This is error type

The DataType in your DataBase is Different
from the One you Have declared in your Program.
May be in dataBase your key datatype is int
and in your Program you are taking String.


转到

http://forum.vegadiscoveries.com/default.aspx?g=posts&m=45
go to

http://forum.vegadiscoveries.com/default.aspx?g=posts&m=45


这篇关于vb.net中的数据网格视图连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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