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.

Edit durind DataGrid Refersh

Thread ID:





27824 Apr 19,2005 06:33 AM Apr 19,2005 07:05 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On April 19, 2005 06:33 AM

Hi, In DataBoundGrid,i am refreshing the data every after 5 second to get the newly written data. when i try to edit any of the cell, i get the following message "This row has been removed from the table and does not have any data.BeginEdit will allow creation of new data in this Row".

Administrator [Syncfusion]
Replied On April 19, 2005 07:05 AM

Does this mean you are swapping out the entire DataTable which is the grid''s datasource? If so, you might try setting grid.DataSource = null, then swap the DataTable, and then reset grid.DataSource = DataTable to see if this will avoid this problem. If it works, you can call grid.BeginUpdate before this code and grid.EndUpdate after this code to avoid any excessive painting during this process. If that does not help, can you post some code to show what you are doing?


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.