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?!!
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?!!