how to use web services with code?(with example code)
First we need to create webmethod in webservice.
And we need to expose the webmethod as wsdl file.
Who wants to consume those webmethod they have to create a
class file by using wsdl tag in dotnet command prompt.
once the class file has been created and we can create
instance for that and start accessing all the methods from
the class file.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is CLR?
Should sn.exe be used before gacutil.exe ?
2 Answers Accenture, BirlaSoft,
What is the difference between stored procedure vs function?
what is silver light when will we use silver light,
What is the difference between abstract class vs interface? Can give me the real time examples?
why security trimming attribute?
You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.
2 Answers Microsoft, Syntax Softtech,
Is there any property names “isnavigating”?
how can you bind data from dataset to XML file
What are Master Pages in ASP.NET?
Details on web.config and global.asax - just explain what are the sections will be there.
Distinguish between Server-side and Client-side code?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)