R
Rex the Strange
Hi All,
Help please! I have a formview on my page and I've created an update
command of the form:
"update
set valuex=@valuex, valuey=@valuey where
valuez=@valuez"
which I can get to execute....sort of. The problem is, if it failed I
want to know exactly what the database was trying to execute but all I
get is a "your query failed, so suck on it" type of message with only
the vaguest direction of what could be the problem.
How can I "trap" the exception and create my own custom message that
tells me the exact query string?
tia,
rts
ps: extremely new to asp.net - I know asp classic like the back of my
hand but this is a whole new world.
Help please! I have a formview on my page and I've created an update
command of the form:
"update
valuez=@valuez"
which I can get to execute....sort of. The problem is, if it failed I
want to know exactly what the database was trying to execute but all I
get is a "your query failed, so suck on it" type of message with only
the vaguest direction of what could be the problem.
How can I "trap" the exception and create my own custom message that
tells me the exact query string?
tia,
rts
ps: extremely new to asp.net - I know asp classic like the back of my
hand but this is a whole new world.