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
If dll and exe files are same it means you can deploy both the files in gac?
What can you do as a .net developer?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
What is property in c#?
Why should you override the tostring() method?
Can we inherit private members of class in c#?
Give 2 scenarios where static constructors can be used?
What is the use of base keyword? Tell me a practical example for base keyword’s usage?
Why objects are stored in heap in c#?
Why are strings in c# immutable?
2. What happened when BO object has been called?
What is the difference between abstract and abstraction?
Can firstordefault return null?
What is difference between dictionary and hashtable in c#?
To create a localized application which namespaces are necessary?