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
Are constructors inherited c#?
What is the use of partial methods?
In .NET which is the smallest unit of execution?
What is dataview c#?
What is a dictionary in c#?
Difference between value and reference type. What are value types and reference types?
What is default value of enum c#?
How Do You Convert A Value-type To A Reference-type?
How many destructors can a class have?
What is the main purpose of delegates in c#?
What is a private method in c#?
What are the Types of assemblies that can be created in dotnet
What is xml serialization and deserialization in c#?
How many types of serialization are there in c#?
How will you deploy the dll file in gac?