I have a datagridview bound to a datatable and it works great. However, when I try to programmatically change the datasource property to a different existing table, I get a blank datagridview with no cells. Although I have tried many bits of code to remedy the problem, this is the one that I felt should do the trick:
dgvThresholds.DataSource = SquirrelDataSet.Tables("Threshold market 12")
ThresholdMarketTableListTableAdapter.Update(SquirrelDataSet.Tables("Threshold market 12"))
dgvThresholds.DataSource = ThresholdMarketDefaultBindingSource
dgvThresholds.Refresh()
Any advice on how to get this thing to work? Seems simple...