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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to reset DataGrid Binding

Thread ID:




2162 Dec 19,2002 07:47 AM UTC WinForms 0
Tags: FAQ
Sergey P
Asked On December 19, 2002 07:47 AM UTC

When DataSource of DataGrid has no records (from beggining or after deleting them) it has no Binding: BindingContents has Position=0 and internal IsBinding=false. This situation does't change after adding records to DataSourse. Running once more DataGrid.SetDataBinding does't help (but only creation of new Datasource - that is bad). What to do?


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon