E
Elmer Miller
I have found it very frustrating trying to work with typed datasets and null
values. I'm starting to wonder if the typed dataset is more trouble than it
is worth. The problem is partly solved by the 'NullValue' property of the
typed dataset, but this only really works for reference types. For value
types you always need to check if the field is null with IsFieldNameNull()
before trying to reference the field. This makes databinding to a strong
typed dataset impossible as far as I can tell.
Surely I'm not the only one to encounter this problem.
Could someone please explain the recommended 'Best Practices' for dealing
with strong typed datasets and databinding. Thanks.
values. I'm starting to wonder if the typed dataset is more trouble than it
is worth. The problem is partly solved by the 'NullValue' property of the
typed dataset, but this only really works for reference types. For value
types you always need to check if the field is null with IsFieldNameNull()
before trying to reference the field. This makes databinding to a strong
typed dataset impossible as far as I can tell.
Surely I'm not the only one to encounter this problem.
Could someone please explain the recommended 'Best Practices' for dealing
with strong typed datasets and databinding. Thanks.