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 dynamic dispatch?
What is anonymous types in c#?
What is difference between new and override in c#?
What do you mean by winforms in c#?
When do you generally use a class over a struct?
What is concatenation and when should it be used?
How main method is called in c#?
What is the boxing and unboxing in c#?
What is the difference between as and is operators in c#?
Can we customize the serialization process?
Why data types are important in c#?
What does this keyword mean in c#?
What is cshtml?
What is a console device?
What is a string c#?