kevin rowe
New Member
I have a b4a app that is currently passing parameters directly to the back end SQL parser (for generic queries) to update data that is displayed as a table.
I inherited this design.
The app is a clone of a web app that passes the whole screen table back as a .net datatable to a service call expecting a .net datatable, but this version passes each line back in turn to a the SQL service call.
I have to change the functionality, to add an extra a bit of data to the screen table that would create a lot of work front end, or I can call the dataset expecting service call.
Is it possible to generate a .net datatable in b4a that can be exported to the webservice call to slot into the xml for the service call?
I can't find any references to libraries that provide datatable or anything like it.
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<security stuff>
</soap12:Header>
<soap12:Body>
<servicecallname xmlns="http://oursite.co.uk/">
<DT>datatable export xml here</DT>
<other field1>string</other field1>
<other field2>string</other field2>
<other field3>string</other field3>
</servicecallname>
</soap12:Body>
</soap12:Envelope>
I inherited this design.
The app is a clone of a web app that passes the whole screen table back as a .net datatable to a service call expecting a .net datatable, but this version passes each line back in turn to a the SQL service call.
I have to change the functionality, to add an extra a bit of data to the screen table that would create a lot of work front end, or I can call the dataset expecting service call.
Is it possible to generate a .net datatable in b4a that can be exported to the webservice call to slot into the xml for the service call?
I can't find any references to libraries that provide datatable or anything like it.
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<security stuff>
</soap12:Header>
<soap12:Body>
<servicecallname xmlns="http://oursite.co.uk/">
<DT>datatable export xml here</DT>
<other field1>string</other field1>
<other field2>string</other field2>
<other field3>string</other field3>
</servicecallname>
</soap12:Body>
</soap12:Envelope>