C# asp.net form view see variables posting

I have a form view using a stored procedure to do an update. I get the following error.

Procedure or function UpdateClientView has too many arguments specified.

Now I fully understand this error and what it is telling me, but I don't know how to view what the form is posting. I have compared my stored procedure to my form view and it looks like all the variables are the same. In classic ASP I would set the form action to get, and I could view what the form was posting on the querystring.I have added the code below to my code behind and I think this would work except it throws the exception. This form view is on a content page and uses a master. I just need to see what the form is posting so I can compare it to my stored procedure. Thanks!
foreach (string key in Request.Form.AllKeys)
        {
            Label10.Text += key + " = " + Request.Form[key] + "<br />";
        }

Open in new window

stephentriceAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

strickddCommented:
you can wire up the OnUpdating or OnInserting event and looping through the e.NewValues[] or e.Values[] respesctively.
0
stephentriceAuthor Commented:
Thanks strickdd. Do you know of a good online resourse I can research this on.
0
stephentriceAuthor Commented:
Thanks but I solved this myself. I used SQL Profiler to view the input!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.