消息: - System.Windows.Forms.dll中发生未处理的类型'System.ArgumentException'异常 [英] Message: - An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll

查看:602
本文介绍了消息: - System.Windows.Forms.dll中发生未处理的类型'System.ArgumentException'异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到消息: - " 无法绑定到DataSource上的属性或列BusinessNumber。

I'm getting the Message :- " Cannot bind to the property or column BusinessNumber on the DataSource.

BusinessNumber是ans MS Access数据库中的一列数据源所指的是。

BusinessNumber is a Column in ans MS Access Database that the DataSource refers to.

有谁知道为什么现在这样做而不是过去?

Has anyone an idea of why this is happening now and not in the past?

问候,格雷厄姆。

问候,Graham VB Developer

Regards, Graham VB Developer

推荐答案

Hello Graham,

Hello Graham,

您是通过DataAdapter或TableAdapter或其他方法读取记录,例如托管数据提供程序?

Are you reading records via a DataAdapter or a TableAdapter or another method e.g. managed data provider?

你是如何从DataTable或BindingSource或其他方式进行数据绑定的,是DataGridView,TextBox等的数据绑定?

How are you doing the data binding, off a DataTable or a BindingSource or another way and is the data binding on a DataGridView, a TextBox etc?

商业号码是字符串还是数字?

Is Business number a string or a number?


这篇关于消息: - System.Windows.Forms.dll中发生未处理的类型'System.ArgumentException'异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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