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

What are the built-in objects in asp.net?

0 Answers  


What is difference between URL and URI?

0 Answers   MCN Solutions,


Is asp.net mvc still used? : Asp.Net MVC

0 Answers  


How can you debug an ASP page, without touching the code?

1 Answers   Prodigy Technologies,


What are the main advantages of using asp.net?

0 Answers  


How do you add a javascript function for a link button in a datagrid ?

4 Answers   Microsoft,


Difference between web user control and web custom control?

0 Answers  


What are sharepoint pages?

0 Answers  


Explain exception filters?

0 Answers  


what is Repeater Control, When it is used,How it is used, what type of template is used for repeater control?

6 Answers   iSoft,


Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.

5 Answers   ADITI, Syntax Softtech,


Can any one explain with the example how to capture the application error in Aplication_Error() method?

1 Answers   Infosys,


Categories