[Mono-dev] Object data source update fails on nullable field.
Vladimir Krasnov
vladimirk at mainsoft.com
Tue Dec 16 04:43:06 EST 2008
Hi Marek,
I've found some problems in updating row in GridView control that bound
to ObjectDataSource.
1. ObjectDataSource fails to convert values to Nullable<> properties
while creating data object.
2. BoundField should return null when no value entered by the user, it
returns empty string and ObjectDataSource fails to convert it.
Please review attached patch that fixes both these problems, also find
attached test cases.
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nullable.patch
Type: application/octet-stream
Size: 5193 bytes
Desc: nullable.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081216/6d390c98/attachment-0001.obj
More information about the Mono-devel-list
mailing list