Finally solved - calling stored procedures prompts to pass multiple problems!

zhaozj2021-02-16  47

Calling a stored procedure, always talking more than the parameters, on the 9CBS, I have brought it, I didn't solve it. I have been depressed ..

Today, I can not be depressed because I solved this problem. Workaround. Ha ha. There are many parameters, I am going to becomes less. Specific:

SQLCommand CMD;

...

...

...

cmd.parameters.clear (); // Clear the previous parameters, I didn't do this, there was that error.

Add the parameters you want to use below.

to sum up:

It is not careful enough to do a program.

转载请注明原文地址:https://www.9cbs.com/read-20261.html

New Post(0)