webmethod参数作为asp.net中的数组后面 [英] webmethod parameters as array in asp.net behind
本文介绍了webmethod参数作为asp.net中的数组后面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将数组参数传递给cs文件中的asp.net代码中的web方法
如何传递n函数,并在该webmethod函数中使用
解决方案
参考
1. 传递数组使用jQuery AJAX将字符串转换为具有可变数量参数的webmethod [ ^ ]
2. Re:通过javascript将数组传递给WebMethod [ ^ ]
>
参考
阵列对象到webservice.aspx的-http://weblogs.asp.net/yousefjadallah/archive/2010/04/24/passing-javascript-array-of-objects-to-webservice.aspx 一> [<一个href =http://weblogs.asp.net/yousefjadallah/archive/2010/04/24/passing-javascript-array-of-objects-to-webservice.aspxtarget =_ blanktitle =New Window > ^ ]
I want to pass array parameters to web method in asp.net code in cs file behind
how to pass n function , and use in that webmethod function
解决方案
Refer
1. Passing array of strings to webmethod with variable number of arguments using jQuery AJAX[^]
2. Re: passing an array to a WebMethod via javascript[^]
Refer
http://weblogs.asp.net/yousefjadallah/archive/2010/04/24/passing-javascript-array-of-objects-to-webservice.aspx[^]
这篇关于webmethod参数作为asp.net中的数组后面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文