markjonesnz
New Member
Hello,
I am trying to pass a ProDataSet to a .Net method that takes a System.Data.DataSet but it just doesnt work... I have spent a couple of hours searching for an example of how to do this and been looking through mountains of progress manuals and it says you can pass them to .NET but nowhere does it actually show you how to do this.. and it is starting to drive me insane. This is my very simple test program
def temp-table t-dept like dept.
def dataset ds-dept for t-dept.
def net-data as System.Data.DataSet.
net-data = ds-dept.
I have tried = dataset ds-dept, dataset-handle ds-dept, cast( ) etc but nothing seems to work.
Please Help!!
Mark
I am trying to pass a ProDataSet to a .Net method that takes a System.Data.DataSet but it just doesnt work... I have spent a couple of hours searching for an example of how to do this and been looking through mountains of progress manuals and it says you can pass them to .NET but nowhere does it actually show you how to do this.. and it is starting to drive me insane. This is my very simple test program
def temp-table t-dept like dept.
def dataset ds-dept for t-dept.
def net-data as System.Data.DataSet.
net-data = ds-dept.
I have tried = dataset ds-dept, dataset-handle ds-dept, cast( ) etc but nothing seems to work.
Please Help!!
Mark