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

Answers were Sorted based on User's Feedback



how to retrieve data using web services in asp.net pls give me the code and explain me briefly..

Answer / 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

how to retrieve data using web services in asp.net pls give me the code and explain me briefly..

Answer / kumar

(1)create a method in webservice as

[WebMethod]
public string AccBalanceAgingSummary(string FilterBy)
{
DataAccess.Report.DailyReport daDailyReport = new
DataAccess.Report.DailyReport();
return daDailyReport.AccBalanceAgingSummary
(FilterBy);
}
(2)

Is This Answer Correct ?    0 Yes 1 No

how to retrieve data using web services in asp.net pls give me the code and explain me briefly..

Answer / dfsdrt

dfnjdfjdfj

Is This Answer Correct ?    1 Yes 11 No

Post New Answer

More ASP.NET Interview Questions

How does http session work?

0 Answers  


What is dataset and uses of dataset ?

6 Answers   HCL, TCS,


What does the following SQL statement return, assuming that all tables and column names are correct? SELECT FirstName, StreetAddress FROM Employees JOIN AddressBook ON Employees.EmpID = AddressBook.EmpID a) Nothing, the JOIN syntax is wrong. b) All the records form the Employees table, and only the matching ones form the StreetAddress table. c) All the records from the StreetAddress table and only the matching records form the Employees table. d) Only the matching records from the two tables.

4 Answers   Syntax Softtech,


What is advantage of viewstate and what are benefits ?

1 Answers  


What is the concept of postback in asp.net?

0 Answers  


What is the life cycle of an asp.net page?

0 Answers  


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

0 Answers   Siebel,


What is asp.net mvc5? : Asp.Net MVC

0 Answers  


What setting must be added in the configuration file to deny a particular user from accessing the secured resources?

0 Answers  


Difference between .NET and previous version?

1 Answers   Microsoft,


hi .net gurus here is my question " how does impersonate in asp.net works? explain with good example"

2 Answers   PennyWise, TCS, Wipro,


Where is session data stored in asp net?

0 Answers  


Categories