I'm doing a really basic online survey application done using ASP.NET and VB.NET that I would like to show prospective employers since the one I've actually for a former employer cannot be shown readily.
So I've built this survey app using a C# class I found on the internet that has methods and properties relevant to accessing and storing information to a SQL Server DB. However, after entering information in the form and clicking the submit button, I get an error:
Exception Details: System.ArgumentNullException: The SqlParameterCollection only accepts non-null SqlParameter type objects. Parameter name: value
I wrote some test code to isolate the problem. And it works, saving the information I had entered. So it has to be the either code inside the class or code using the class that's the problem.
Please let me know if you need more code-I thought I'd post code that most likely contained the problem. Thanks in advance.
So I've built this survey app using a C# class I found on the internet that has methods and properties relevant to accessing and storing information to a SQL Server DB. However, after entering information in the form and clicking the submit button, I get an error:
Exception Details: System.ArgumentNullException: The SqlParameterCollection only accepts non-null SqlParameter type objects. Parameter name: value
I wrote some test code to isolate the problem. And it works, saving the information I had entered. So it has to be the either code inside the class or code using the class that's the problem.
Please let me know if you need more code-I thought I'd post code that most likely contained the problem. Thanks in advance.