forum

Home / DeveloperSection / Forums / WebService Method

WebService Method

Anonymous User 2277 17-Feb-2011
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!


Updated on 17-Feb-2011
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By