Calling webmethod ina aspx.cs file using jquery ajax

You webmethod needs to be static.

[WebMethod]
public static Details[] getDetails(string columnname, string inputVal)

Leave a Comment