Skip to main content
Participating Frequently
February 9, 2016
Question

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

  • February 9, 2016
  • 2 replies
  • 481 views

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

    This topic has been closed for replies.

    2 replies

    WolfShade
    Legend
    February 9, 2016

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

    HTH,

    ^_^

    Carl Von Stetten
    Legend
    February 9, 2016

    @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.

    atlcfAuthor
    Participating Frequently
    February 10, 2016

    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

    Carl Von Stetten
    Legend
    February 9, 2016

    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.