Hey...
can anyone enlighten me as to what a data class is?
I have to call a function from another application, which will return a dataset. The problem is that i need to know the structure before i actually receive the dataset. So i have written an xml file from it so i know the structure.
That all works fine... but i need to select a database for designing the layout of a crystal report structure... and for this i need the structure of the xml file. I have been told that a Visual Studio Data Class is the best way to go because i can define the stucture at design time, fill it at run time, and all allong, the crystal report will reference this file for its structure and information.
I have also been told to use a data class instead of an xml file as the xml file has a fixed path, wheras the data class can have a relational link depending on where the project is stored..
Can anyOne HeLp?????
Please.
Nevermind... found it... it's just a dataset dragged into the solution explorer instead if declared in code.
![]()





Reply With Quote