I need to store selected date from datetimepicker.
I have take an sql data type datetime.
But at inserting following error occur.
"Object reference not set to an instance of an object."
Code is '" + dob.Text + "' /'" + dob.Value + "'
Date from datetimepicke
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Lalit MRank #1,186 · 1.5K reputationPosted Mar 7, 2010, 7:33 PM EST
http://blogs.msdn.com/csharpfaq/archive/2004/05/06/127647.aspx