DataSet

Startbeitrag von Cesar Flores am 29.04.2013 20:41

Hi all.

I have a little question...

How can i receive a DataSet Object coming from a Web Service developed in a .NET application (C#)?.

im using WM17 (IOS)...
is this possible?

Antworten:

Hi

If I have your question correct, you will need to declare a datatable
Like c#

I recieve a dataset from MSSQL SqlServer.. declared like this

dt is dynamic DataTable = SmoApplication.EnumAvailableSqlServers(False)

and to read that datatable


IF dt.rows.count > 0 THEN
x is DataRow dynamic
FOR EACH x OF dt.Rows
// trace(x.get_item("name")
END
END

included in my dot net, is system.data as well

see if that gets you closer

Andy Stapleton
www.ccscowboy.com
windev Skype Group
skype:Andy_ccscowboy






Cesar Flores brought next idea :
> Hi all.
>
> I have a little question...
>
> How can i receive a DataSet Object coming from a Web Service developed in a
> .NET application (C#)?.
>
> im using WM17 (IOS)...
> is this possible?

--
Andy Stapleton
www.ccscowboy.com
Skype group Windev English andy_ccscowboy


Message forwarded from pcsoft.us.windev

von Andy Stapleton.pcs.crosspost - am 30.04.2013 12:03
Hi Andy.

i think i dont understand your answer.

where did you declare your Datatable variable?

i think i dont made the right question.

the Webservice that i need to consume is already done. this webservice were developed in c#, and the response of this webservice is a dataset object.

i need to catch this Dataset object in my IOS application (WM17) but i didnt found a way to do this.

the conventional way that i use to catch a webservice response is this:

WsResult is WebserviceResponse
WsResult = Webservice(Parameters)

but the response always were a string. this time the response is a DataSet and i dont know how can i catch him.

Best Regards

von Cesar Flores - am 02.05.2013 22:49
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.