We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Updating of databound grid

Thread ID:





59328 Apr 11,2007 06:33 AM Apr 12,2007 08:51 AM Windows Forms 5
Tags: GridControl
Anika kapoor
Asked On April 11, 2007 06:33 AM


I am serializing the dataset bound to the DataBoundGrid into an XML file, then I clear the grid and try reloading the data from the XMl file by deserializing it, but nothing is reflected in the grid. I can see the data is present in the datatable.

I have tried (BeginUpdate, EndUpdate), (SuspendBinding, ResumeBinding), Refresh, n even updated datasource again but still nothing is reflected on the grid.

I think i m missing something , but wht i dont know, cld you please help me with this.


Administrator [Syncfusion]
Replied On April 11, 2007 11:11 AM

Try setting:

grid.DataSource = null;
grid.DataSource = yourDataTable;

after reloading the table to see if that does what you need.

Anika kapoor
Replied On April 12, 2007 03:01 AM

Hi Clay,

It didn't work, do you think there is any other way.


Administrator [Syncfusion]
Replied On April 12, 2007 05:58 AM

Here is a little sample that seems to work as expected. How do we see the problem you are having in this sample?


Anika kapoor
Replied On April 12, 2007 07:51 AM

Hi Clay,

I am using VS 2003 and Syncfusion, so not able to open the sample could you please send me sample in the current version.
I wld be very grateful to u.


Administrator [Syncfusion]
Replied On April 12, 2007 08:51 AM

Here is a 1.1 project.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.