Home > database >  Using c # development in the datawindow WebService problem? [img=https://forum.csdn.net/PointForum/u
Using c # development in the datawindow WebService problem? [img=https://forum.csdn.net/PointForum/u

Time:10-10

Datawindow usually need several line table data, and the DataSet provided by c # (or DataTable) can store multiple rows of data, but, if use c # write a web service returns the DataSet or the DataTable, will not be able to identify datawindow or accept the WebService, i.e. datawindow and DataSet interoperability between obstacles, although by "external data sources" middleman can solve the problem, namely the adoption route WebService returns the DataSet - & gt; External data sources - & gt; DataWindow, after all, to develop some trouble, I have tried to solve the interoperability problem: namely the WebService written in c # to return PB define the type of the structure of the array, but need to know what PB used the name space data types and corresponding DLL, this information is rarely (c # call PB program, https://archive.sap.com/discussions/thread/3391198, https://stackoverflow.com/questions/34306591/use-c-sharp-created-dll-in-powerbuilder-12-5-2 or vice),
Datawindow use PB development WebService is no problem, then, I simply gave up the datawindow WebService returns the DataSet as a data source using c # development idea, although it looks very attractive (to improve development efficiency), because I saw this article https://www.hanselman.com/blog/ReturningDataSetsFromWebServicesIsTheSpawnOfSatanAndRepresentsAllThatIsTrulyEvilInTheWorld.aspx, the purport of this article is that c # web service returns the DataSet is like the devil, because the DataSet can be interpreted as any type of data so the DataSet is equivalent to a variable of type,
Anyway, hope PB2018-2019-2020 can solve these problems,

CodePudding user response:

C#+datawindow.net to do the report that is didn't have to say, to make the WINDOWS input interface can be directly printed into statements, greatly improve the efficiency of development, it also comes from the original concept of strengths, develop instance can go to https://download.csdn.net/download/maguangzhi/10595010 C#+datawindow.net

CodePudding user response:

Thank you for your share!
  • Related