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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between session and application in asp net?

760


What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

711


What is session id in web application?

785


How do you declare static variable?

774


Why do we need a web application session?

716


Is it right that ASP.NET Web API has replaced WCF?

737


What is Razor View Engine

834


What is the difference between session and application?

721


What is an assembly? Explain its parts.

838


When cookie will expire?

781


Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

1938


What are sessions and cookies?

775


What are the memory-mapped files?

754


What is the difference between custom controls and user controls?

703


Define web services in asp.net.

758