-
Runtime created Datasets
I need a an example of how I could setup a Dataset in runtime:
I have a screen with a ListView and a textbox that displays Data from a Table.
I use the textbox for editing and adding records displayed on the listview.
I need this same form to work for many more tables. Everything is the same - only the Table name and fields name are different.
So I would like to have this setup in Code so that I can reuse the same code for each table. I need to build the datasets at runtime as opposite to design time and be able to edit, add records to it.
Also can I bound the listview to the dataset? or to a dataview? (I also need to be able to sort the displayed records)
Thanks
-
Got it
I found the solution myself. If you need to know about this contact me and I will email an example.