Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Switching between tables using Xml file

$
0
0

I am currently working on a .NET project using Xml project. The beginning of the project is pretty simple. I have to have the form caption, controls, form layout, stored procedures / queries used to access and manipulate data etc. set in a configuration file.

My problem is that my form should be generic enough such that updating the application to handle some other data (still a “one to many relation”) comes down to updating the configuration file.

For example I have 2 datagridviews : one for the parent records, one for the child.The relationship between them is of one to many. I have 2 pairs of such kind: The first pair is: Continents(parent table) and Cities(child table). The second pair: Developers(parent table) and Games(child table). Basically what i want is to use Xml files in order to switch between the tables such that the form will show the Continents and Cities and after the switching it will show the Developers and Games. I am new at XML Files.Yes i have read tutorials but they have only helped me with the basic stuff(like the first part of my project which i have mentioned above). If you could give me some ideas  I would much appreciate it.

Thank you.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>