I have a Visual Studio 2013 solution which is a c#/ASP.net project. I have inherited it from somebody else and haven't used Visual Studio for about 6 years, and then it was do do VB.NET stuff not ASP stuff.
I suspect there is a problem with the sql string being sent to the database as it is retrieving null values when it shouldn't so I want to trap the sql string and run it in SQL Server. I don't have a profiler tool to use on SQL Server at present (client environment). However, the code doesn't break on any of the breakpoints I've set. I've tried running it using F10, I've trawled the Internet and tried every suggestion I can find and it still won't work. Nor can I set any watch windows to monitor the variable contents. The code in question is in default.aspx in the PreLoad event.
Any thoughts on what else I can try? Many thanks