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.

Answers were Sorted based on User's Feedback



For a combobox and a listbox same datatable given as a datasource. Now problem is that whenever foc..

Answer / 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

For a combobox and a listbox same datatable given as a datasource. Now problem is that whenever foc..

Answer / darshanyadav

we can copy that table into another table and use itas same
database.so no database will change and we can use that
table data.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More C Sharp Interview Questions

What is the difference between System.console.WriteLine() and System.console.Write() function?example?

0 Answers   HCL,


What is a hashset c#?

0 Answers  


How do I do a case-insensitive string comparison?

0 Answers  


What is Implicit conversion in C#?

0 Answers  


What is an interface class? Give one example of it

0 Answers  






What is a Command Object in C#?

0 Answers   B-Ways TecnoSoft,


What floating point types is supported in C#?

0 Answers  


Can you use all access modifiers for all types?

0 Answers  


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

0 Answers   HCL, NIC,


How does aspect oriented programming work?

0 Answers  


Can we inherit static class in c#?

0 Answers  


What are the differences between static, public and void in c#?

0 Answers  


Categories