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.