Groups > Asp .Net > ASP.NET XML Web Services > Re: web service data format




web service data format

web service data format
Wed, 26 Mar 2008 13:20:06 +000
hi,

I have an application where I am binding the webservice data into a gridview
control.

But instead of binding the data directly to gridview is there any way to store
the data into a datatable or dataset and thenl bind those data into gridview. It
is ruired for the performance point of view.

So is there anyone who can help me out...it's really very urgent for me.
Post Reply
Re: web service data format
Thu, 27 Mar 2008 10:24:39 +000
hi,

 Try to figure out first what is return type of webmethod of webservice.

 if it is xml 

then DataSet1.ReadXML(webmethodname) ;

will store data in to dataset which you can process later.

if it returning dataset then directly assign it to dataset.

I hope it will work for you. 

Regards,

Jags
Post Reply
about | contact