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

How to reset DataGrid Binding

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?

Live Chat Icon For mobile
Up arrow icon