Sending a JSON object to an ASP.NET web service using JQUERY ajax function

前端 未结 5 637
闹比i
闹比i 2021-02-09 22:29

I want to create object on the client side of aspx page. And i want to add functions to these javascript classes to make easier the life.

Actually i can get and use the

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-09 23:13

    A detailed answer for a similar question states that combining the JQuery & Json2.stringfy() can be used for sending complex type to Server-Side methods.

    And on the Server Side, you will only need to put the required Type in the Method Signature (ex. foo(MyType obj) { ... } )

    How to send JSON object to asp.net web service and process the data there?

提交回复
热议问题