That's how I've dealt with it, even though it doesn't make sense. How can DBNull have a value when null, by definition, has no value?
>>>Convert.ToDateTime((row["start_time"]== DBNull.Value)?DTSqlMinDate:row["start_time"]);
>>
>>I think you were confusing DBNull with C# null which is what the ?? operator uses.......
>
>I thought the above would prevent the problem. Is there any other way to fix it besides my solution?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer