Hi.....
I use more than one combo box in my project
when i select one value in one combo than all combo value is selected same.
how to solve it?
I use same data source in all combo
Please reply......
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ankita parmarPosted Sep 11, 2015, 8:04 AM
I chose different value in all combo box not same.
Thanks
Prem Anandh JPosted Sep 11, 2015, 12:36 AM
{
//Combo1
comboBox1.Items.Add("C#NET"); comboBox1.Items.Add("ASP.NET");
comboBox1.Items.Add("VB NET"); comboBox1.Items.Add("J#");
//Combo2
comboBox2.Items.Add("C#NET"); comboBox2.Items.Add("ASP.NET");
comboBox2.Items.Add("VB NET"); comboBox2.Items.Add("J#");
//Combo3
comboBox3.Items.Add("C#NET"); comboBox3.Items.Add("ASP.NET");
comboBox3.Items.Add("VB NET"); comboBox3.Items.Add("J#");
//Combo4
comboBox4.Items.Add("C#NET"); comboBox4.Items.Add("ASP.NET");
comboBox4.Items.Add("VB NET"); comboBox4.Items.Add("J#");
}
{
comboBox2.SelectedIndex = comboBox3.SelectedIndex=comboBox4.SelectedIndex=comboBox1.SelectedIndex;
}
Manas MohapatraPosted Sep 10, 2015, 2:10 PM