检查DataBinding错误 [英] Checking of DataBinding Error

查看:72
本文介绍了检查DataBinding错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai,我想检查何时发生错误,如下所示

DataBinding:'System.Data.DataRowView'不包含名为'Category'的属性

你能给我一个解决方案吗?

提前谢谢

解决方案

你需要检查标记(HTML)你已写入以确认您是否正在键入正确的属性(列名称)。

希望有帮助!


您已在设计中将列数据字段指定为类别,但是您绑定时使用该列。

因此,检查查询/存储过程/设计并进行所需的更改。


plz解释此错误的含义

Hai,where were i want to check when an error occured like below
"DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Category'"
Can You give me a solution?
Thanks in advance

解决方案

You need to check the markup (HTML) you have written to confirm if you are typing the right property (column name).
Hope that helps!


You have assigned a column data field as Category in design, but you are using that column while binding.
So, check the query/stored procedure/design and do the needed changes.


plz explain me meaning of this error


这篇关于检查DataBinding错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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