Skip to Content
0
Former Member
Jul 27, 2016 at 08:22 PM

Is argument allowed for DW.Retrieve() for .Net Assembly?

47 Views

Hi,

Does anybody know whether I can set argument for datawindow.Retrieve() method in .Net Assembly target which generated assembly is used in WinForm application? It looks like the datawindow can retrieve by passing in parameters. However, there are few 'InvalidCastException' errors and probably affects performance.

I got 'InvalidCastException' error in WinForm application when I turned on the setting to break when CLR exception is caught when there is/are retrieval argument(s) set in dw.Retrieve(lsArg) method. If I just leave with no argument, there is no 'InvalidCastException' error.

PB12.1 Classic on .Net Assembly target

Thanks for any reply,

Christine