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
What is a generic c#?
Can struct have constructor c#?
Explain the difference between a struct and a class?
Can abstract class have parameterized constructor?
What is private variable?
What do you know about Translate Accelerator?
Can a dictionary have duplicate keys c#?
Why do we use stringbuilder in c#?
Define an abstract class?
What is class sortedlist underneath?
Why do we use abstract class in c#?
What is difference between list and ilist in c#?
What is int tryparse in c#?
What is difference between overloading and short circuiting?
What is dll hell, and how does .net solve it?