I am doing a financial accounting project for my university accounting course, the problem (after reading lots of stuff) is still not resolved is that,
I want to populate combo box with names of table; please help me out.
I know "SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE'" etc.
How to write this query in C# wpf, and using foreach loop or other logic populate combo box. with Sqlconnnection sql etc.
Please help, I’m writing this query after wasting lots of time in searching google and reading tutorials.
Can you show me how to achieve WPF C# populating TABLES in database?
Some skeleton code that will probably help, then in wpf you can bind the datatable straight to the combo box.