Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the meaning of TestApi?

1074


What is the basic difference between asp and asp.net?

1024


How would you turn off cookies on a page of a website?

918


What is s2s tracking?

977


What is inproc and outproc?

989


How information about the user's locale can be accessed?

1054


What do you mean by authorization?

927


What is paging in context of Memory?

1104


Explain asp.net application life cycle?

977


Write code to send e-mail from an asp.net application?

1021


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

2202


What is meant by asp.net?

975


Where is asp.net view state stored?

997


How does exception management works in ASP.NET?

1146


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

1012