Re: Updating an object value in a grid
- From: "fitim skenderi" <fitims@xxxxxxxxxxx>
- Date: Tue, 17 Oct 2006 15:25:57 +0100
Hi,
You need to implement INotifyPropertyChanged interface on your object. This
will notify all the databound controls to this object to change accordingly.
Hope this helps
Fitim Skenderi
"Fredo" <fredo@xxxxxxxxxxx> wrote in message
news:cZCdnRNhI8vEH67YnZ2dnUVZ_oudnZ2d@xxxxxxxxxxxxxxx
I have a DataTable and in one of the columns, I'm storing an object. When
certain properties of that object change, I want the DataTable to trigger
an update in the grid (via the CurrencyManager).
Is that possible without setting the Row/Col to a new instance of the
object?
Here's the thing: I want to keep the object independent of the DataTable
itself. I'd also like to, for example, be able to use it in a collection
bound to a grid. I'd also like this to all happen from within the object
itself, if possible. This is an object we're actually creating for other
developers to use and I basically want to give it the ability to trigger a
CurrencyManager update when certain properties are changed.
.
- Follow-Ups:
- Re: Updating an object value in a grid
- From: Marc Gravell
- Re: Updating an object value in a grid
- References:
- Updating an object value in a grid
- From: Fredo
- Updating an object value in a grid
- Prev by Date: Re: What's ReportDocument?
- Next by Date: C# Calling Executable or DLL
- Previous by thread: Updating an object value in a grid
- Next by thread: Re: Updating an object value in a grid
- Index(es):
Relevant Pages
|