Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Services (http://www.velocityreviews.com/forums/f64-asp-net-web-services.html)
-   -   huh can`t pass datatable ???? (http://www.velocityreviews.com/forums/t784579-huh-can-t-pass-datatable.html)

M.Posseth 02-24-2005 03:47 PM

huh can`t pass datatable ????
 

isn`t it possible to pass a datatable with a webservice to another .net app
???


my webservice raises an exception whenever i declare the datatable type

this doesn`t work
<WebMethod(MessageName:="dtModules")> _

Public Sub CarsHaveModules(ByVal dt As DataTable )

End Sub



this works

<WebMethod(MessageName:="dsModules")> _

Public Sub CarsHaveModules(ByVal ds As DataSet )

End Sub


is this normall behavior ????





M. Posseth 02-24-2005 06:01 PM

Re: huh can`t pass datatable ????
 
To answer my own question

just for someone who migh encounter this problem


No Michel this is not possible even better this behavior is by design

see this link for more information

http://support.microsoft.com/default...b;en-us;306134



"M.Posseth" <michelp@nohausystems.nl> wrote in message
news:uioe0goGFHA.2616@tk2msftngp13.phx.gbl...
>
> isn`t it possible to pass a datatable with a webservice to another .net

app
> ???
>
>
> my webservice raises an exception whenever i declare the datatable type
>
> this doesn`t work
> <WebMethod(MessageName:="dtModules")> _
>
> Public Sub CarsHaveModules(ByVal dt As DataTable )
>
> End Sub
>
>
>
> this works
>
> <WebMethod(MessageName:="dsModules")> _
>
> Public Sub CarsHaveModules(ByVal ds As DataSet )
>
> End Sub
>
>
> is this normall behavior ????
>
>
>
>





All times are GMT. The time now is 09:31 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.