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


Please Help Members By Posting Answers For Below Questions

What type of data type conversion happens when the compiler encounters the following code?

757


Explain the difference between private and shared assembly?

696


What is string concatenation?

707


What's the difference between abstraction and encapsulation?

696


HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

762


Is c# dictionary a hash table?

674


What are object pooling and connection pooling and difference between them?

750


Do loops c#?

708


Why hashtable is thread safe in c#?

736


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

1814


What is namespace in oop?

725


What is thread pooling?

758


What is JIT (just in time)? how it works?

764


What is inumerable?

770


in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?

935