Is it possible to make a function that returns both a datatable AND a list(of custom class) at the same?
In my GUI layer, the main form (the application is MDI) calls this function and it has to fill the datagrid on one of its child forms and it also has to fill lot of other child forms with various information that is calculated from my custom class properties.
Both the datatable and the class properties are created from the same external database and that's why I don't want to have two separate functions.
In my GUI layer, the main form (the application is MDI) calls this function and it has to fill the datagrid on one of its child forms and it also has to fill lot of other child forms with various information that is calculated from my custom class properties.
Both the datatable and the class properties are created from the same external database and that's why I don't want to have two separate functions.