WebService and .net [ http://www.andreavb.com/forum/viewtopic.php?TopicID=4088 ]


MkhProgrammer
26-11-2004 at 05:08 PM
WebService and .net

Hello
i want to make a WebService that get my form as a variable
and use this code :
for each ctl in myform.controls
.
.
.
next

when i define a variable as form in input parameter of my function
error occured !!
how can i declare my variable in webservice as a form control?

Best Regards

____________________________
MkhProgrammer




zimcoder
11-01-2005 at 07:08 AM
Re: WebService and .net

Can you post the sample code that is throwing the error. that is the xml web method

You may need to declare the parameter as of type object and pass your form as an object

____________________________
BrainBench ADO.NET and ASP.NET Certified Developer