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
What is the meaning of TestApi?
What is the basic difference between asp and asp.net?
How would you turn off cookies on a page of a website?
What is s2s tracking?
What is inproc and outproc?
How information about the user's locale can be accessed?
What do you mean by authorization?
What is paging in context of Memory?
Explain asp.net application life cycle?
Write code to send e-mail from an asp.net application?
5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?
What is meant by asp.net?
Where is asp.net view state stored?
How does exception management works in ASP.NET?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc