[Mono-dev] Object data source update fails on nullable field.

Ivan N. Zlatev contact at i-nz.net
Tue Dec 16 05:29:45 EST 2008

2008/12/16 Vladimir Krasnov <vladimirk at mainsoft.com>

> 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

I don't know if the web databinding layer uses TypeConverters (the WinForms
one does), but just in case I should note that I have implemented the
NullableConverter two weeks ago in SVN HEAD.

Kind Regards,
Ivan N. Zlatev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081216/3bc922fc/attachment.html 

More information about the Mono-devel-list mailing list