I had a quick question and was wondering if you guys could send me in the right direction. I have and application with 2 wpf windows. One MainWindow and a Window in which I import data from excel. The data that is imported is stored within a datatable inside a dataset.
My question is, how do you pass the dataset between the windows i.e. how do I access the datatable in the main window?
I have tried finding something but can't really understand how it works. Some people suggest to create a partial class in the main window.
pulic partial class TransferData : Window
but I have not the slightest clue where to go from there and how to pass a full dataset with this method.
Sorry for the lack of code, I really don't know how to do this. I'd be very grateful if someone can point me in the right direction or has some input on this problem. I am sure it wasn't the first time someone asked something like this (Just cant find anything specific that would help me).