No mapping exists from object type System.Windows.Forms.Date
I GOT AN ERROR....WHAT DOE SIT MEAN? PLEASE CLEAR....No mapping exists from object type System.Windows.Forms.DateTimePicker to a known managed provider native type.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Abhay ShankerRank #375 · 6.7K reputationPosted Dec 1, 2013, 5:27 PM EST
cmd.Parameters.Add("@DateOfJoining", dtpDOJ.Value);