Page 1 of 1

AllowDbNull not following orders

Posted: Wed 13 Feb 2008 19:13
by jammerjam
VS2008, Win XP

I went through the wizard and add a table adapter which references a stored procedure. This stored proc has 2 input variables, one of which can be null. If I set the option for this second var to be null, save the table adapter, then view the code, I see the following:

Code: Select all




Shouldn't that first one say AllowDbNull="false"?

And why is there a space before the parameter name?

Another thing I've seen is it's pulling the character ` from my stored procedure, but then complains it can't find a variable to insert into.

Posted: Thu 14 Feb 2008 13:23
by Alexey.mdr
Please send me (alexey*crlab*com) a small test project to reproduce the problem.
Include the definition of your own database objects. Do not use third party components.
Please attach a brief walkthrough to reproduce the problem.