DataSource Table Editing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dsarhadian
    New Member
    • Sep 2011
    • 1

    DataSource Table Editing

    Hey I added a DataSource to my project to make accessing my MySQL database easier but one portion of my application requires me to be able to edit the tables in my database.

    I can get the tables to list using this:
    Code:
    foreach (DataTable dataTable in modernEngineDataSet.Tables) { 
    treeView.Nodes.Add(dataTable.TableName); 
    }
    How do I get it so when I chose an option from the TreeView and it loads that table in my DataGridView control?
Working...