Q: number of parameters in stored procedure

G

Guest

Hello,
I am using a stored procedure with 28 input parameter to insert to a SQL
table. It gives too many argument error when I compile my asp.net
application.

My asp.net application accepts data entry about employees and tries to
import is into a table by calling a stored procedure. If there is a
restriction in number of parameters, what else could I use to get data from
user and import into a table?
Thanks,
Jim.
 
C

Curt_C [MVP]

You have a typo most likely.
28 params on the function, 27 in the SPROC, etc etc...
 
S

Steve C. Orr [MVP, MCSD]

Curt is right, you've probably miscounted.

I discovered the hard way that the DataAdapter has a limit of 99 parameters.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top