autoeventwireup event confusion

K

-Karl

Ok.. I am totally stumped on this one. My site was workign great for
awhile until I needed to have a Page_load event added to it.

I added it and saw that it wasn't working. After ripping apart my
code, I found out my problem was the autoeventwireup="false" was
causing my problem. So I then changed it to true and was happy to see
my page_load was working. Further testing of my site lead me to my
next and current issue.

I have a editable datagrid and while my autoeventwireup="true", I am
getting a nasty error "Must Declare variable @Original_id".

This variable is in the InsertCommand that the SQLDATASOURCE generates
in vb.net.

So I'm stuck between the 2 and I do not know how to get past this
snafu.

I need the autoeventwireup="true" to run my Page_load and I need it to
be False to run my SQLDATESOURCE insert command.

What do I do?!!
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top