Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1035
Row insertion not supported by this data source
posted

Hi,

I have an ultraGrid with 2 bands.
Its dataSource is coming from a binding source:

BindingSource

 

bs;
bs = new BindingSource();
bs.DataSource = myEntity;
myGrid.DataSource = bs;

In order to add a new row to a band in the grid, I'm using the AddNew() method:

myGrid.DisplayLayout.Bands[

"AAA"].AddNew();

I'm getting the following exception:

"Row insertion not supported by this data source."

Any idea why does it happen?

Thanks!
Yael