Hi All (Again),
With your help I've get my Oracle ODBC connection sorted and have filled my Dataset correctly, but when I assign the new dataset (Same table, but has a where clause that cuts down the number of rows) to the datagridview it just shows 1 blank row. In the Locals window, If I click on the Data Visualizer for the datasource for the datagridview after I've changed its datasource then it shows the correct number of rows (4) even though the datagridview1.rowcount = 1. Interestingly, the data visualizer icon is not visible before I change the datasource even though there are hundreds of rows
My code:
Any Ideas?
With your help I've get my Oracle ODBC connection sorted and have filled my Dataset correctly, but when I assign the new dataset (Same table, but has a where clause that cuts down the number of rows) to the datagridview it just shows 1 blank row. In the Locals window, If I click on the Data Visualizer for the datasource for the datagridview after I've changed its datasource then it shows the correct number of rows (4) even though the datagridview1.rowcount = 1. Interestingly, the data visualizer icon is not visible before I change the datasource even though there are hundreds of rows
My code:
Code:
DataGridView1.DataSource = ""
DataGridView1.DataSource = ds
DataGridView1.Refresh()
DataGridView1.Parent.Refresh()