I am new with web service and .net. I would like to call a method from aspx.cs file, in my web service. How do i do that?
protected void SearchRec(object sender, EventArgs e)
{
....
}
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public void example(string text_to_search)
{
.....//call SearchRec here
}