Last post May 25, 2010 12:56 AM by Vinija
May 22, 2010 03:54 AM|Haansi|LINK
Thanks for your attention, time and sharing.
How DAAB can be used to fill list of custom objects ?
I am curious if a custom object ( for example User) composes an enum (for example
UserType which can have values admin or member); than how object (User) will be filled if null is coming as value for enum (UserType) ?
Please guide me on this issue.
thanks in anticipation
May 25, 2010 12:56 AM|Vinija|LINK
DAAB can be used but you have to write your conversion code.
For example: Your UserType enum , you ahve to check for null on your field, and set your default value, otherwise
you'll have an InvalidCastException