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
How many types cache in asp net?
how to include timer or counting time to display next page in asp.net
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
What is event bubbling?
Differentiate between structure and class.
What is an asp.net web form?
Where is session data stored in asp net?
What does ascx stand for?
What is considered a service provider?
What are the different types of Caching techniques in ASP.NET?
Why do we need url encoding?
What is ispostback method in asp.net? Why do we use that?
Where do we store our connection string in asp.net application?
What are the security types in asp.net?
What happens if an ASP.NET server control with event-handling routines is missing from its definition?