有人可以帮我调用签名如下所示的网络方法吗?
public float[] GetTotalUagePerDay(DateTime startDate, DateTime endDate, int[] type);
最佳答案
将字符串传递给 webmethod 并在服务器上运行 DateTime.Parse()
关于asp.net - 使用 Jquery Ajax 将 DateTime 值传递给 ASMX webMethod,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5629863/