Rows in the DataGrid automatically deleted

Hi -

Has anyone of you encountered a situation wherein all the rows in a data grid disappeared automatically. After rows have been displayed in the data grid, I left the screen untouched for a few seconds (number of seconds varied) and the rows would just disappear. There are several events that called for the population of the data grid. Could that be the cause

Thanks!


Answer this question

Rows in the DataGrid automatically deleted

  • Jim Lux

    You might want to show the events and the code that you are talking about.

    The only reason I can think that this would happen is that maybe the DataSource was not valid or had no value.

    Check for the the Data if it exists, and also check the DataSource and DatMember of the grid.

  • Rows in the DataGrid automatically deleted