Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

.Net Dataset into PB datawindow/datastore

$
0
0

Hi.

 

I guess the title says it all, but is it at all possible?

 

The reason why I ask, is because we're trying to centralize our code in C# so that it can be used both in PB 12.5 Classic, C# and SQL Anywhere (as a CLR).

Most of our functions returns either strings or decimals, so that's easy to accomplish.

But in some cases we need to return a datatable containing several datarows from the C# code.

Is it possible to receive the dataset and directly put it into a PB Classic Datastore/Datawindow?

Is perhaps XML the way to go? In that case, how can I save a Dataset as XML and create a PB Classic Datastore from it?

 

Hopefully waiting for some good examples or ideas.

 

Regards,

 

Bjarne Anker


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>