Hi.
Can anyone tell me how can I access the property "DataSourceUpdateMode".
The problem is that I have a DatagridView control binded to a DataSet and I
don't want to update the datasource every time the row is changed after the
value of a cell has changed. I want to update manually through my code. I
came up with the above property. I don't know if it will work.
I use C# as programming language. I cannot find the property in the
DataGridView properties nor at the DataSet properties.
Thank you
Hi,
> Hi.
> Can anyone tell me how can I access the property "DataSourceUpdateMode".
> The problem is that I have a DatagridView control binded to a DataSet and
> I don't want to update the datasource every time the row is changed after
> the value of a cell has changed. I want to update manually through my
> code. I came up with the above property. I don't know if it will work.
DataSourceUpdataMode is only available on the Binding class which is used
for simple Bindings (Control property binding).
Complex bindings (such as DataGridView.DataSource) don't use this, so i'm
afraid there is no easy way to achieve what you want, besides when the
DataGridView is bound, it couldn't store pending changes of multiple rows...
---
HTH,
Greetings
> I use C# as programming language. I cannot find the property in the
> DataGridView properties nor at the DataSet properties.
>
> Thank you