开发者

How to configure Update Method for object data source in ASP.Net

开发者 https://www.devze.com 2023-01-05 06:45 出处:网络
I have a gridview with all colum开发者_StackOverflow社区ns read only except one. I want to configure the update method for the object data source to update only one column. The code i have written wor

I have a gridview with all colum开发者_StackOverflow社区ns read only except one. I want to configure the update method for the object data source to update only one column. The code i have written works when i make all columns editable but fails when i try to make only one column editable. Can someone tell me what i should do?


Try to figure out what arguments the Object datasource is trying to give to your method when updating. It might not pass the uneditable ones, and this could be the cause of the failure.

0

精彩评论

暂无评论...
验证码 换一张
取 消