阅读背景:

将数组从JavaScript传递到C#的最佳方法?

来源:互联网 

I need to pass an array from JavaScript to a page method in C#. I have tried using a parameter in the C# method of IList and also a string[] array. Both ways throw an exception "cannot convert an object of type system.string to xxx", where xxx is the parameter type in the C# method. I am passing the object from jQuery as a json object, and looks like it is coming through properly. Here is what it looks like:I need to pass an array from JavaScript to a pa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: