I am trying to view the data in a Dataset, I don’t mind what view it is, i can print it out in a text file or show it in a Datagrid I am just trying to discover whats in side. I am testing a Webservice to see if it returns results and i have it returning a Dataset.
ServiceReference1.PropertiesSoapClient ws1 = new ServiceReference1.PropertiesSoapClient();
ws1.Open();
DataSet datasetprint = new DataSet();
if (ws1 != null)
{
ServiceReference1.ReturnValuationRequest request = new ServiceReference1.ReturnValuationRequest(UserID, trackingNumber);
ServiceReference1.ReturnValuationResponse response = ws1.ReturnValuation(request);
if (response.ReturnValuationResult != null)
{
DataSet ds = response.ReturnValuationResult;
datasetprint = ds;
}
}
Whats the best way for me to view its Content?
Edit:
I would prefer not just looking thought the break point as its endless with so much data i that does not make sense.

I would prefer viewing it in a datagrid or even in a Textfile.
If you want to view it without any additional code, just use the debugger to set a breakpoint after the dataset gets populated and hover over the dataset variable name, a little popup comes up and then click the little magnifying glass in the popup.
Its called the dataset visualizer, I think.
Just a note, it can timeout your debugging session and do some other funky stuff. If it times out then you won’t be able to continue stepping through your code.