Don't use addwithvalue - try that next - define you parameter more clearly against the datatype in the DB...