Print Page | Close Window

Winform Databbinding .Net 2.0

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1834
Printed Date: 13-Sep-2025 at 7:41pm


Topic: Winform Databbinding .Net 2.0
Posted By: pprasadravi
Subject: Winform Databbinding .Net 2.0
Date Posted: 20-May-2010 at 10:00pm

Hi,

I am using data binding in win forms. I have combo box and could of check boxes. I want to check the checkbox based on the selection in the combo box. I planning to write a method with parameters info object(contains properties selected value, checked check box value). I want to file this method when property is changed in Info object. Is there any way I can say call my method when DataSourceUpdateMode.OnPropertyChanged is changed?

 

this.cboProgramCertified.DataBindings.Add("SelectedValue", info, "InitialMedicaidProgramId", true, DataSourceUpdateMode.OnPropertyChanged);




Replies:
Posted By: IdeaBlade
Date Posted: 24-May-2010 at 5:27pm
Why wouldn't you just use SelectedIndexChanged, or the like, on the ComboBox?



Print Page | Close Window