G
Guest
I am new to .Net. I have a windows form in which I am using a Stored
Procedure to get the data. I am successful in retrieving the data, however
after closing the form and reopening the form I landed in a problem . The
error is too many parameters.What I did was I included a line
SqlCmd.Parameters.Clear before Parameters.Add - line and I fixed the issue.
Can any explain why this is happening and how I can control it?
thanks
Vb
Procedure to get the data. I am successful in retrieving the data, however
after closing the form and reopening the form I landed in a problem . The
error is too many parameters.What I did was I included a line
SqlCmd.Parameters.Clear before Parameters.Add - line and I fixed the issue.
Can any explain why this is happening and how I can control it?
thanks
Vb