New Posts New Posts RSS Feed: Winform Databbinding .Net 2.0
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Winform Databbinding .Net 2.0

 Post Reply Post Reply
Author
pprasadravi View Drop Down
Newbie
Newbie


Joined: 20-May-2010
Location: LA
Posts: 1
Post Options Post Options   Quote pprasadravi Quote  Post ReplyReply Direct Link To This Post Topic: Winform Databbinding .Net 2.0
    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);

Back to Top
IdeaBlade View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30-May-2007
Location: United States
Posts: 353
Post Options Post Options   Quote IdeaBlade Quote  Post ReplyReply Direct Link To This Post Posted: 24-May-2010 at 5:27pm
Why wouldn't you just use SelectedIndexChanged, or the like, on the ComboBox?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down