MCallas
asked on
How do I write a SQLDataSource Update Command to the Screen for Troubleshooting?
Hi,
I've got an sds update command that is not updating the underlying db nor is it throwing any errors. I would like to print the update string to the screen after it generates so I can see why the update is failing. The command is in sds located in the aspx file.
Thanks.
I've got an sds update command that is not updating the underlying db nor is it throwing any errors. I would like to print the update string to the screen after it generates so I can see why the update is failing. The command is in sds located in the aspx file.
Thanks.
If I understood the question correctly then you want to print the update commad on the page for troubleshooting. Can we try Response.Write(Sqldatasour ce1.Update Command.To String()); or just check with the sql server profiler whats going wrong.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No sense in beating a dead horse here. Thanks anyway.