Click here to Skip to main content
15,890,897 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questionedit or update problem Pin
vinayh31-Jul-09 1:28
vinayh31-Jul-09 1:28 
AnswerRe: edit or update problem Pin
Dave Kreskowiak31-Jul-09 4:15
mveDave Kreskowiak31-Jul-09 4:15 
AnswerRe: edit or update problem Pin
Arindam Sinha1-Aug-09 1:42
Arindam Sinha1-Aug-09 1:42 
Questioncomboboxcontrol on Winform2008 Pin
vinayh30-Jul-09 20:29
vinayh30-Jul-09 20:29 
AnswerRe: comboboxcontrol on Winform2008 Pin
darkelv30-Jul-09 23:54
darkelv30-Jul-09 23:54 
GeneralRe: comboboxcontrol on Winform2008 Pin
vinayh31-Jul-09 0:48
vinayh31-Jul-09 0:48 
GeneralRe: comboboxcontrol on Winform2008 Pin
Dave Kreskowiak31-Jul-09 4:14
mveDave Kreskowiak31-Jul-09 4:14 
AnswerRe: comboboxcontrol on Winform2008 Pin
Dave Kreskowiak31-Jul-09 4:13
mveDave Kreskowiak31-Jul-09 4:13 
All you need to do is create two BindingSource objects and put them between the Combo's and the data. Each Combo will have its DataSource property set to one of the BindingSource objects. Then each BindingSource will have it's DataSource property point to the same data object. Something like this:
ComboBox1.DataSource ------> BindingSource1 -----\
                                                  \
                                                   +----> Data
                                                  /
ComboBox2.DataSource ------> BindingSource2 -----/



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: comboboxcontrol on Winform2008 Pin
Mycroft Holmes1-Aug-09 23:54
professionalMycroft Holmes1-Aug-09 23:54 
GeneralRe: comboboxcontrol on Winform2008 Pin
Dave Kreskowiak2-Aug-09 6:14
mveDave Kreskowiak2-Aug-09 6:14 
GeneralRe: comboboxcontrol on Winform2008 Pin
Luc Pattyn2-Aug-09 7:53
sitebuilderLuc Pattyn2-Aug-09 7:53 
Questioncaption/text property of Button control Pin
vinayh30-Jul-09 20:13
vinayh30-Jul-09 20:13 
AnswerRe: caption/text property of Button control Pin
Ashfield31-Jul-09 1:24
Ashfield31-Jul-09 1:24 
AnswerRe: caption/text property of Button control Pin
Dave Kreskowiak31-Jul-09 4:05
mveDave Kreskowiak31-Jul-09 4:05 
AnswerRe: caption/text property of Button control Pin
Arindam Sinha1-Aug-09 1:46
Arindam Sinha1-Aug-09 1:46 
QuestionSDI vs. MDI: Old question, new parameters Pin
pierrecor29-Jul-09 22:30
pierrecor29-Jul-09 22:30 
AnswerRe: SDI vs. MDI: Old question, new parameters Pin
Moreno Airoldi29-Jul-09 23:18
Moreno Airoldi29-Jul-09 23:18 
GeneralRe: SDI vs. MDI: Old question, new parameters Pin
pierrecor29-Jul-09 23:43
pierrecor29-Jul-09 23:43 
AnswerRe: SDI vs. MDI: Old question, new parameters Pin
Arindam Sinha1-Aug-09 1:53
Arindam Sinha1-Aug-09 1:53 
QuestionProblem with image dimensions being reversed Pin
Alan Burkhart29-Jul-09 14:34
Alan Burkhart29-Jul-09 14:34 
AnswerRe: Problem with image dimensions being reversed Pin
Luc Pattyn29-Jul-09 21:33
sitebuilderLuc Pattyn29-Jul-09 21:33 
GeneralRe: Problem with image dimensions being reversed Pin
Alan Burkhart30-Jul-09 13:03
Alan Burkhart30-Jul-09 13:03 
QuestionHow to find out a file location Using C language in windows programming? Pin
WindowsVsLinux28-Jul-09 21:32
WindowsVsLinux28-Jul-09 21:32 
AnswerRe: How to find out a file location Using C language in windows programming? Pin
Dave Kreskowiak29-Jul-09 1:31
mveDave Kreskowiak29-Jul-09 1:31 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
WindowsVsLinux29-Jul-09 1:33
WindowsVsLinux29-Jul-09 1:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.