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 cli in c#?
Can a class have more than 1 destructor?
What is the advantage of extension method in c#?
What is the difference between protected and private?
I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?
Can I define a type that is an alias of another type (like typedef in c++)?
How we can create an array with non-default values?
What is class method?
What is the use of ispostback in c#?
Define c# i/o classes?
What are data types in C#?
What is method in c#?
What is asp net in c#?
How to assign Null value to Var?
Define property in c#.net?