Copy link to clipboard
Copied
I have successfully connected to a .NET dll. However, I am having a problem passing the correct data type.
I asked a fellow developer who works in .NET and he said it must be a "data table". What is the equivalent in CF? A query structure doesn't work.
Thanks
Copy link to clipboard
Copied
From Microsoft Technet, it appears that there is a DataTable class. I have no idea how you would go about using that from within ColdFusion, though.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
@WolfShade, in that context it seems like a DataTable is roughly analogous to a query object in ColdFusion (which contains data either retrieved from a database or dynamically created at runtime using QueryNew()). But how you pass ColdFusion data as a .NET DataTable is beyond me.
Copy link to clipboard
Copied
In doing more research I found that CF 8 automatically converts what you pass to the DLL to a data table.
Source - http://qualityexcellence.info/cold-fusion.html