R
Rob
What is the syntax to send a null value as a parameter ?
cmd.Parameters.Add("@Year", Convert.ToInt32(strYear))
in cases where strYear = ""
I want to send ...
cmd.Parameters.Add("@Year", Null)
But the syntax is incorrect....
How would I send it ?
cmd.Parameters.Add("@Year", Convert.ToInt32(strYear))
in cases where strYear = ""
I want to send ...
cmd.Parameters.Add("@Year", Null)
But the syntax is incorrect....
How would I send it ?