6
Reply

Problem in Combo Box Using Windows Application

Naeem Khan

Naeem Khan

Nov 12 2009 6:03 AM
4.6k
i have Combo box which is bind from database. i want to show text value of Combo Box when my form is running. but still its not showing me i dont know why its always getting first value from database not showing text value of combo box.this is the function which is i called at form load.and when user change the value of combob box on that time should be change values of combo box or or in other text boxes not at form load. hope you understand what i want... get_party_details() { try { ds = new DataSet(); ds = gBL.show_party_details_name(); cb_party_name.DataSource = ds.Tables[0]; cb_party_name.DisplayMember = "Party_Name"; } catch (Exception) { } thanks in Advance please help me urgent.

Answers (6)