Hi everybody,
I have a variable that can be either 0 or NULL or some integer value. Is there a way to check for both conditions 0 and NULL without using OR condition (no LINQ, please, I want compatibility with .NET 2.0)
I have currently
(DataBinder.Eval(Container.DataItem, "SpouseID").ToString() != "") which works correctly for NULL, but doesn't work for 0.
Thanks a lot in advance.
If it's not broken, fix it until it is.
My Blog