.NET interoperability - get a set of data

eagle_eyeeagle_eye Member Posts: 130
edited 2012-03-01 in NAV Three Tier
I am looking for a way to receive a set of records from a .dll that I can read through and do stuff with in NAV.

The records would look something like:

1,Name,Address,City,State,Zip
2,Name,Address,City,State,Zip
3,Name,Address,City,State,Zip

I was thinking arrays - but that only gives me Key,Value.

Is there something else I can use in the .NET Framework to collect this information (I don't want to have to save an xml file and then suck it in, I just want to call a class and get the dataset).

Comments

  • deV.chdeV.ch Member Posts: 543
    You can do this in like 13939 ways...

    just some: XmlDocument Object, Ado.Net Dataset, Class With Members: (Number, Name, Address, ...), and so on

    Why not using XmlDocument? You don't need to mess with files and paths to use xml, you have interop, so just make a method with return value of type XmlDocument...
  • eagle_eyeeagle_eye Member Posts: 130
    Thanks! A great idea!
Sign In or Register to comment.