Why wont response.write work in a
asmx.cs file.
if i try to pass the error as a string to a method is has to be a web method which takes a string as a parameter. Fine so far. The web method returns the string to web form so i can view the error.
However when i call the webmethod from the form it expects a string paramater,, what do i do
i know my web service is not working , so i want to write the errors in my catch block some where to see whats happening
asmx.cs file.
if i try to pass the error as a string to a method is has to be a web method which takes a string as a parameter. Fine so far. The web method returns the string to web form so i can view the error.
However when i call the webmethod from the form it expects a string paramater,, what do i do
i know my web service is not working , so i want to write the errors in my catch block some where to see whats happening