If the webservice method returns a dataset, you can do anything you want with
this dataset (store it in Session or Cache, for example).
Binding it to a GridView or some other control is a separate operation.
Or you could do both- store it in Session AND bind it to the gridview.
DataSet myDs = myWebServiceProxy.MethodThatGetsDataset();
Session["myDs"]=myDs
Does that help?
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"David R." wrote:
I would like to consume a web service. There is one method in this
webservice that returns the results in a DataSet type.
I know that I can return the data in a GridView control. However, if I want
to deal with the data behind the scenes (without displaying to the user),
how do I do it?
For example, this method might return the City and temperature in the
DataSet, how do I retrieve this info without outputting to a GridView
control?
Thanks.