I'm trying to set a property that is a datetime type (actually, I'm trying to use the sqldatetime type). in the db where the value is coming from, it's null. I get a cast error when trying to set the property. I've tried all sorts of stuff, can anyone give me an idea of how you resolve the problem?