G
Guest
I've got to be missing something very simple here, but I'm stumped. I have a
DataGrid control on a form. The form allows search of a database and display
of resulting rows in the DataGrid.
My problem is, when the user does a second search, the results of the first
search remain in the DataGrid, and the results of the second search are just
added below. I've tried setting the DataSource property to Nothing and
refreshing the DataGrid, but it doesn't seem to do anything.
Any help would be appreciated.
Thanks!
DataGrid control on a form. The form allows search of a database and display
of resulting rows in the DataGrid.
My problem is, when the user does a second search, the results of the first
search remain in the DataGrid, and the results of the second search are just
added below. I've tried setting the DataSource property to Nothing and
refreshing the DataGrid, but it doesn't seem to do anything.
Any help would be appreciated.
Thanks!