For a combobox and a listbox same datatable given as a
datasource. Now problem is that whenever focus of listbox
changes selected value of combobox also get change or vice
versa. what to be done to avoid this. According to
requirement we cannot make different datasouce.

Answers were Sorted based on User's Feedback



For a combobox and a listbox same datatable given as a datasource. Now problem is that whenever foc..

Answer / upender kumar

There is no need to copy data into another data table.Just assign datatable as datasource to combobox and datatable.defaultview to listbox or vice versa.

Is This Answer Correct ?    12 Yes 3 No

For a combobox and a listbox same datatable given as a datasource. Now problem is that whenever foc..

Answer / darshanyadav

we can copy that table into another table and use itas same
database.so no database will change and we can use that
table data.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More C Sharp Interview Questions

What is gui in c#?

0 Answers  


What is .net c#?

0 Answers  


What is the purpose of c#?

0 Answers  


What is ispostback c#?

0 Answers  


Is type nullable c#?

0 Answers  


How long does it take to learn c# for unity?

0 Answers  


Is string reference type / value type ?

7 Answers   3i Infotech, Accenture, BirlaSoft,


What?s the difference between <c> and <code> XML documentation tag?

1 Answers  


Can I call a virtual method from a constructor/destructor?

0 Answers  


without modifying source code if we compile again, will it be generated MSIL again?

0 Answers  


Is functional interface runnable?

0 Answers  


What is concrete class in c#?

0 Answers  


Categories