How to call c# method with no parameters and access returned data?

后端 未结 2 1144
醉梦人生
醉梦人生 2021-01-22 16:08

So I have seen many examples such as these : https://stackoverflow.com/a/8094230/2525507

public class WebService : System.Web.Services.WebService {
   [WebMetho         


        
2条回答
  •  北海茫月
    2021-01-22 16:40

    See my answer to this post. I reference a web site called Encosia, written by Dave Ward. He has an excellent series on using Ajax with ASP.net / MVC. That is a great place to start, with numerous examples.

提交回复
热议问题