G
Guest
Hi all,
I have a database with some null columns. I am creating a Typed dataset for it and understand that I should be using annotations with a typed dataset. If for a field all reasonable values are positive then we could use codegen:nullValue="-1" to return a default other than dbNull. But what should I do when I have a nullable boolean field? I am using both 1 and 0 in my database. So I can't assign either of these and these are the only two values I have. Am I missing the whole point? Can someone please help me.
Please see the following articles for background:
http://msdn.microsoft.com/library/d...tml/cpconusingannotationswithtypeddataset.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;318048
Thanks,
Nima
I have a database with some null columns. I am creating a Typed dataset for it and understand that I should be using annotations with a typed dataset. If for a field all reasonable values are positive then we could use codegen:nullValue="-1" to return a default other than dbNull. But what should I do when I have a nullable boolean field? I am using both 1 and 0 in my database. So I can't assign either of these and these are the only two values I have. Am I missing the whole point? Can someone please help me.
Please see the following articles for background:
http://msdn.microsoft.com/library/d...tml/cpconusingannotationswithtypeddataset.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;318048
Thanks,
Nima