ASPxGridView删除问题

来源:互联网 发布:云计算与大数据龙头股 编辑:程序博客网 时间:2024/06/06 09:40

在对ASPxGridViewj进行删除操作,会遇到一个问题,如下:

A primary key field specified via the KeyFieldName property is not found in the underlying data source. Make sure the field name is spelled correctly. Pay attention to the character case.


如果遇到这个问题,就需要在ASPxGridView中添加KeyFieldName属性。

原创粉丝点击