在使用ASPxGridView1的时候删除数据出现错误如下:
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.
处理如下:
this.ASPxGridView1.KeyFieldName = "主键";
ok了