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.
Answer Posted / 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 |
Post New Answer View All Answers
Explain code compilation in c#.
Can we inherit private class in c#?
Where is the main method in c#?
Is c# a strongly-typed language?
Why References are stored on heap and variables on stack?
Can constructor be protected?
How does dictionary work in c#?
What is reference c#?
Do loops in c#?
What is difference between array and arraylist in c#?
What is the difference between overriding and overloading in systemverilog?
Differentiate between copy and default constructor.
What is the difference between ref and out parameters in c#?
How many keyword present in C# language ?
What's new in c#?