W
wenz
Hi,
I have a small application that reads data from a text, access or excel file
and displays it in a DataGrid.
I have a problem when a second request to display a file is made in that the
columns in the datagrid display both the column headings from the original
file and the new file.
I have tried .clear, setting the datasource to null prior to the second
request, even disposing of the datagrid and creating a new one but the
problem still occurs.
Does anyone know how I can fix this?
Many thanks
wend
I have a small application that reads data from a text, access or excel file
and displays it in a DataGrid.
I have a problem when a second request to display a file is made in that the
columns in the datagrid display both the column headings from the original
file and the new file.
I have tried .clear, setting the datasource to null prior to the second
request, even disposing of the datagrid and creating a new one but the
problem still occurs.
Does anyone know how I can fix this?
Many thanks
wend