Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Using combox to fill datagridview

$
0
0

I can bind a datagridview(DGV) to a table and add, update and all that good stuff to the table. However, The database I am connecting to has 20 tables and will grow from there. Instead of having a DGV for each table, it would be easier on the user if I could add the table names to a combobox and when the user selects a table it populates the same DGV.

Is this possible? If so, how do I do it?

Thanks.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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