Re: Submitting an Array to a Webservice.
- From: RoseIM <RoseIM.1ppqu7@xxxxxxxxxxxx>
- Date: Fri, 27 May 2005 07:20:56 -0500
Hi Rod!!!
I've found the solution!
You have to create an class with the structure of your array... and
instantiate it where you want to use...see...
Sorry for my English..
Rose
---CLASS-----
Imports System
Imports System.Web.Services
Namespace DataTypesVB.Enumerations
Public Class Sku
Public Sku As String
Public Qty As Integer
Public EndUserPrice As Double
End Class
End Namespace
---USING THE CLASS----
Dim oWsSku As DataTypesVB.Enumerations.Sku()
'numParc = number of rows
oWsSku = New DataTypesVB.Enumerations.Sku(numParc) {}
oWsSku(i) = New wsImla1.Sku
oWsSku(i).Sku1 = a
oWsSku(i).Qty = b
oWsSku(i).Price = c
oWsSku(i).EndUserPrice = d
--
RoseIM
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message1132804.html
.
- References:
- Re: Submitting an Array to a Webservice.
- From: RoseIM
- Re: Submitting an Array to a Webservice.
- From: Rod Young
- Re: Submitting an Array to a Webservice.
- Prev by Date: Re: How Can VS IDE discover a Web Service (I need a professor)
- Next by Date: Re: Exception in WSE 2.0 example
- Previous by thread: Re: Submitting an Array to a Webservice.
- Next by thread: Web Service And Datareader
- Index(es):
Relevant Pages
|