|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problem with RowChanged event and bindingcontextI´m experiencing a problem ( maybe a bug ...), with the rowchanged event. When i change the position in a table after alter a field the datarowchanged event starts only if the navigation path of the databinding is not a relationship: Ej... ds.Tables["house"].RowChanged +=...; texto.DataBindings.Add("Text", "house.doors"); this.BindingContext(ds,"house").Position++; in this case the event starts correctly Ej... ds.Tables["requirements"]..RowChanged +=...; // requirements is the relations between "house" and "requirements" tables texto.DataBindings.Add("Text", "house.requirements.pay"); this.BindingContext(ds,"house").Position++; in this case the event doesnt starts, but the DataRow of the relation table is altered. Does anyone know something about this? is a bug? it is its normal way of working? Greetings and excuse my poor english |
|||||||||||||||||||||||