我已经使用c#编写了一个web方法,web方法如下 public string getname(string name) return "my name is" + name.ToString();我创建了另一个aspx页面来调用web方法。如果我设置了dataType和contentType,它会一直返回一个错误,并警告失败。如果我删除
//window.location = "Contacts/AddEditContact.aspx";QueryStringModule.Encrypt是c#class中的一个函数,页面会引发一个错误:The name 'contactId' does not exist in the current context