I have manage to made a windows form that uses a web service to populate the data into a DataGridView. Then I have a column for adding comments next to each row. So a user could add some comments about this data for each row. Also I have a drop down list to select some options for each row.
Actually everytime when connecting to this web service there are 7 DataGridViews that are populated with data, one for each TabPage added to a TabControl. So 7 tabs then.
If I close this form and reopen it then it's all gone.
What is the simpliest way if I want to store the settings (comments and selected option in drop down list). The idea is that I want to store this as a project under a name like "Project1", "Project2" etc. So every project would have their own settings. Then when starting the application all over again, instead of populate it from the webservice, I then load it from wherever it's stored. So I can pick the particular project I want for example "Project1".
So what is the easiest options here? Would it be best to store it in a database or could it be stored in different datasets (one for each project)? Also if I use a dataset every TabPage with it's own unique DataGrid would then be represented as DataTable
I suppose. But then I don't know if the data in a dataset would still be there the next time - if it only stores temporarily?
As for now my only intention is to build this for myself, so I don't need to have any end user in mind.