G
Guest
I have a detailsview control on an ASP.NET 2.0 page which is bound to methods
in a business object through an ObjectDataSource. All of the bound methods
work correctly, but I have a slight problem with the update method.
Unless the primary key value is visible and editable (i.e. not readonly) in
the detailsview on the page, the Update action won't pass the value to my
method, so the record is not updated. Of course I don't want the end user to
see or edit the primary key. How can I get around this situation?
TIA for your time and expertise.
in a business object through an ObjectDataSource. All of the bound methods
work correctly, but I have a slight problem with the update method.
Unless the primary key value is visible and editable (i.e. not readonly) in
the detailsview on the page, the Update action won't pass the value to my
method, so the record is not updated. Of course I don't want the end user to
see or edit the primary key. How can I get around this situation?
TIA for your time and expertise.