Error : Update requires a valid UpdateCommand when passed DataRow collection with modified rows

后端 未结 4 2221
孤独总比滥情好
孤独总比滥情好 2020-12-21 01:20

I am using Paging to show data in datagridview, but when i try to Update any data with updatebutton data should be updated In datagridview

4条回答
  •  太阳男子
    2020-12-21 02:02

    It could be that you are missing Primary Key in the table. You need to make sure primary key is set on a column in your data base table.

提交回复
热议问题