Which data format do I use to pass to a .NET DLL

Community Beginner ,
Feb 09, 2016 Feb 09, 2016

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

Views

171

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Feb 09, 2016 Feb 09, 2016

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 09, 2016 Feb 09, 2016

Copy link to clipboard

Copied

I have no idea what a "data table" is, either.  Even after quickly scanning over this page.

HTH,

^_^

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Feb 09, 2016 Feb 09, 2016

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 10, 2016 Feb 10, 2016

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines