how to retrieve data using web services in asp.net pls give
me the code and explain me briefly
Answer Posted / kuldeep kumar
To retrieve data from a web service first make method in
web service that query to the database and retrieve data
and return Dataset or the data type which you want to
retrieve (But web service can only return integer, string,
arrays, enum, xmlNode, Dataset etc). Make a proxy class for
your web service using VS or wsdl.exe. Now just make a
client class, make an object instance of web service in
your client class, and call the web method using this
object. I think now you can design code according to your
need.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
From which base class all web forms are inherited?
Do session use cookies in asp net?
How to implement form based authentication in asp.net application?
Explain About duration in caching technique
Describe SOA and the tenets of it?
Explain a program using razor view engine to create a simple application? : asp.net mvc
Explain different types of Caching techniques in ASP.NET?
Explain diff between dataset and datareader?
What are validators and list some validators of asp.net?
What is asp.net futures?
What is a server farm in iis?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????
What are the new data controls in asp.net 2.0?
What is mvc in asp.net tutorial? : Asp.Net MVC
How to implement role based security in asp.net mvc? : Asp.Net MVC