Ask a Question related to ASP.NET Web Services, Design and Development.
-
Fao, Sean #1
Return Dataset?
I'm relatively new to web services and I was wondering why, when authors
create a web service that queries a database, that they don't just
return the dataset object in the exposed method as in the following
fragment:
[WebMethod]
public System.Data.DataSet someQuery(string queryString)
{
[...]
return dataset;
}
What I usually see is that authors return a class, which describes the
structure of the results (like a table definition).
Is this just per convention or is there another explanation?
Thank you in advance,
--
Sean
Fao, Sean Guest
-
Return sql dataset in a web service using VN2005
Since I have updated to Visual Net 2005, I do not know how to build a web service that returns a dataset of a sql query. Using VN 2003, I used... -
return Dataset from WebService
I can't seem to get this working right... Here's what I'm doing: // in the web service System.IO.StringWriter sw = new... -
Return Single Row + Dataset
Hi I have created a WebService that returns a DataSet from the database. What I would like to do is have it also return an addition Single... -
Is it possible to return just a DataTable from a WebMethod, instead of DataSet?
Hi all, I just want to make sure i'm not doing anything stupid, but it seems to me that its not possible to return a simple datatable from a... -
Return a NULL dataset from a webservice ??!
When my webservice returns a null dataset my application crashes. null exception error. Has anyone experianced this ? and wondering if anyone has a...



Reply With Quote

