Datagrid

  • Thread starter Thread starter Helen Trim
  • Start date Start date
H

Helen Trim

I have a data grid that I want to reuse in a Windows
form. When I load in a new set of data, it stores the new
data correctly. But it still shows the old data on the
form.

I have tried the datagrid's Refresh and Update methods and
the form itself is refreshed, but nothing works.

What else do I need to do?

Thanks
Helen
 
You need to clear the dataset before loading new data into it.

Brad Shook
 
Hi,

Just set the datagrids datasource to the data again otherwise it wont
reflect the changes.

Ken
---------------

I have a data grid that I want to reuse in a Windows
form. When I load in a new set of data, it stores the new
data correctly. But it still shows the old data on the
form.

I have tried the datagrid's Refresh and Update methods and
the form itself is refreshed, but nothing works.

What else do I need to do?

Thanks
Helen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access Form Refresh 1
how to fill datagrid faster 2
display new rec in datagrid on mdi form? 1
Sorting a datagrid 1
Refresh Bound DataGrid 4
Datagrid & combobox 1
How to Refresh Datagrid Control? 6
monthcalendar question 4

Back
Top