How to configure Update Method for object data source in ASP.Net
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.
精彩评论