ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
how to retrieve data using web services in asp.net pls give
me the code and explain me briefly
 Question Submitted By :: Sharmila
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to retrieve data using web services in asp.net pls give me the code and explain me briefly
Answer
# 1
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 ?    4 Yes 3 No
Kuldeep Kumar
 
  Re: how to retrieve data using web services in asp.net pls give me the code and explain me briefly
Answer
# 2
dfnjdfjdfj
 
Is This Answer Correct ?    0 Yes 10 No
Dfsdrt
 
 
 
  Re: how to retrieve data using web services in asp.net pls give me the code and explain me briefly
Answer
# 3
(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 0 No
Kumar
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is the difference of a LEFT JOIN and an INNER JOIN statement? What is a Cartesian product? What causes it? Syntax-Softtech1
how to convert from sql2000 numeric to int in asp.net with sqlparameter?  1
Rate yourself in .net and sql database? Satyam1
What is the Difference B/W Finalize() and Dispose() in .Net? HCL7
How can we Deploy a website?  2
What are clr?cts?cls? Microsoft1
Should validation (did the user enter a real date) occur server-side or client-side? Why?  2
What data type does the Range Validator control support?  3
I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do? eMids5
What are Sticky Sessions? Infosys2
What are the different modes for the sessionstates in the web.config file?  1
Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version? Wipro2
When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To connect to a DB/2 database. c) To connect to an Access database. d) To connect to an SQL 6.5 database. Syntax-Softtech5
What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?  1
Can u able to get the xml document in crystal report if yes how its possible  1
What is the other method, other than GET and POST, in ASP.NET?  3
which one is faster execute reader, scalar, execute non query ? Minecode16
Why is it important to maintain session state?  1
how to get the vb6.0 COM Component in to the .Net application? iSoft3
What is a WebService and what is the underlying protocol used in it? Namespace?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com