本文介绍了数据网格EventHandler的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了一个DataGrid,它正在显示来自数据库的数据(手动填充的数据库未分配).它正在为添加记录而工作.在其中的前两列是编辑和删除记录.当我们删除记录时,它会被删除并且可以正常工作,但是当手动刷新页面时,它会调用为delete命令编写的delete函数,并且在每次刷新时,它都会删除第一条记录.
请提出任何解决方案...

紧急.
谢谢!!!!

Hi,
I have created one DataGrid and it is showing the data from the database(manually filled database not assigned). It is working for addition of records. In it first 2 columns are edit and delete record. When we delete record it is deleted and working fine but when page refreshed manually it is calling the delete function written for delete command and on each refresh it is deleting first record.
Please suggest any solution......

Its urgent.
Thank You!!!

推荐答案


这篇关于数据网格EventHandler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 14:42