I have to modify a program that was written for the web. When I run the code using Visual Studio there isn't a problem. When I 'Publish' the code and run it from my Chrome browser I start to have problems.
When I have written ASP classic programs I am able to set a bunch of response.write to see what variables are. In C# it doesn't appear I can do the same thing. At least I can't figure out how to do it.
I have this line of code but I don't know where to put it to view it. I am assuming it will need to be on the same page that is published. For example, Cm.cpt is my connection string. This is set in a page that is not shown to the user. When the Login.aspx page is shown, how do I show the connection string?
Response = System.Web.HttpContext.Current.Response;
Response.Write("Cm.cpt= " + Cm.cpt + "<br>");
How do I display it on my page?