hi,
How to pass a null value in my StoredProc in DateTime field. If i pass null parameter it give me an error message. Anyone can help me.
Popskie
Printable View
hi,
How to pass a null value in my StoredProc in DateTime field. If i pass null parameter it give me an error message. Anyone can help me.
Popskie
A null reference and a null field are two completely different things. To make a database field or parameter null you need to set it to DBNull.Value.
thanks for your answer Jm it really work great.