Dave Burke : Freelance .NET Web Developer specializing in Online Communities

DBNull.Value and DateTime datatype, or, value types and reference types

This is a bit of a sticky wickett I'm seeing, trying to store a DBNull.Value in a BusObject DateTime member for passing to the DL.  As in:

useredit.birth_date = DataHelper.CheckNullString(txtBirthDate.Text); // CheckNullString returns DBNull.Value is txtBirthDate blank...

Seems to boil down to types.  Helpful newsgroup post from Madhu on this subject I'll have to get back to...

Comments (0) | Post RSS RSS comment feed

Posted on 3/26/2004 7:55:00 PM by Dave Burke
Categories:
Tags: No tags for this post

Related posts

Comments are closed

This site was built with the Sueetie .NET Online Community Framework. Learn more about Sueetie at Sueetie.com.