|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ObjectDataSource and ReadOnly Object PropertyI've an object who has an readonly property named Id, this property is filled from the database with an Identity-value. When I execute "DetailsView1.UpdateItem(true);" then I get the following exception: The 'Id' property on the type specified by the DataObjectTypeName property in ObjectDataSource 'ObjectDataSource1' is readonly and its value cannot be set. I've tried al logical properties on the ObjectDataSource, but I can't find an anwser. Could somebody help me. Thanx in advance. Greetz, Joey Chömpff |
|||||||||||||||||||||||