Ladies and Gents,
I am something of a VS.NET newbie, and I've been trying to navigate the labyrinth of the VS docs to no avail - so here's my question:
I have a routine that converts SqlCommand objects to DataSet objects, and I would like to write the text of the SQL query associated with the command to the VS Output Pane during debugging. How can this be accomplished? I would settle to being able to log the queries to a file, as well.
Am I better off trying to use the Query Analyzer?
Many thanks in advance for your suggestions.
Terwin
I am something of a VS.NET newbie, and I've been trying to navigate the labyrinth of the VS docs to no avail - so here's my question:
I have a routine that converts SqlCommand objects to DataSet objects, and I would like to write the text of the SQL query associated with the command to the VS Output Pane during debugging. How can this be accomplished? I would settle to being able to log the queries to a file, as well.
Am I better off trying to use the Query Analyzer?
Many thanks in advance for your suggestions.
Terwin