Hi Dear
mo*******@gmail.com,
here are the samples of how to use a web method . For rest of the thing you
can visit the links what ever i give.
1st One
************************************************** **********
private void button1_Click(object sender, System.EventArgs e)
{
localhost.HelloWebServiceinC MyService = new localhost.HelloWebServiceinC();
System.Console.WriteLine(MyService.SayHello("John" ));
System.Console.WriteLine(MyService.SayGoodBye());
}
------------------------------------------------------------------------------------------------
here is the 1st Link(for complete article)
~~~~~~~~~~~~~~~~~~~~~~~~~~
http://abstractvb.com/code.asp?A=1006
************************************************** **********
2nd Example:
************************************************** **********
VB.NET
--------
Dim myHelloWorld As New HelloWorld()
Dim sReturn As String = myHelloWorld.SayHelloWorld()
C#
----
var myHelloWorld:HelloWorld = new HelloWorld();
var sReturn:String = myHelloWorld.SayHelloWorld();
------------------------------------------------------------------------------------------------
Here is the 2nd Link (for more information on how to use a web service)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://samples.gotdotnet.com/quickst...icesintro.aspx
************************************************** **********
3rd Example:
========
************************************************** **********
localhost.Service1 service = new localhost.Service1();
string result = service.HelloWorld();
MessageBox.Show( result );
------------------------------------------------------------------------------------------------
3rd Link for complete details on web services consuming
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.dotnetspider.com/technolo...bServices.aspx
************************************************** **********
For Anything and Everything, Please Let Me Know,
bye
Venkat_KL