|
| Re: Invoke with Parameters |
 |
Tue, 1 Apr 2008 16:22:18 +0000 |
jamesqua:
To add parameters to the web service you need to add parameters to the public
webmethod in your asmx code behind.
[WebMethod]
public returnValue MethodName(string Username, int Usernumber)
{
}
Thanks, now I really feel stupid and it's not because of you. ;)
|
| Post Reply
|
| Invoke with Parameters |
 |
Tue, 1 Apr 2008 19:02:44 +0000 |
Ok,
I created a asmx page and when I test it there is just a button. I want to add
the ability to pass parameters like username or number. Should I put this in
the asmx page or should I create an aspx page which invokes the web service?
Also, in doing so, how do I capture the parameters in the code behind of the web
service?
Thank yoU!
|
| Post Reply
|
| Re: Invoke with Parameters |
 |
Tue, 1 Apr 2008 19:07:39 +0000 |
To add parameters to the web service you need to add parameters to the public
webmethod in your asmx code behind.
[WebMethod]
public returnValue MethodName(string Username, int Usernumber)
{
}
|
| Post Reply
|
|
|
|
|
|
|
|
|
|