Home > DeveloperSection > Forums > WebService Method
Pooja Malohtra
Pooja Malohtra

Total Post:47

Points:331
Posted on    February-17-2011 4:54 AM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 1307  View(s)
Rate this:
Hi,
I have created an ASP.net web service that contain a webmethod that return the string.
Like.

[WebMethod]
public string sample()
{
        calculate();
        return "This is sample one";

}

public int calculate()
{
        return 15;
}

I want to access calculate method from client, please let me know how to do it.

Thanks in advance!



Awadhendra Tiwari

Total Post:126

Points:882
Posted on    February-17-2011 9:54 AM


Don't want to miss updates? Please click the below button!

Follow MindStick