GridView's UpdateMethod not firing

﹥>﹥吖頭↗ 提交于 2019-12-02 09:09:18

When you use ObjectDataSource, providing the UpdateMethod isn't enough.

Your update method will need parameters as to which row to update. The gridview does not provide this on its own.

You need to implement the RowUpdating to provide the UpdateParameters needed to updated your ObjectDataSource

Take a look at this ObjectDataSource Example

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!