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

Which is faster dictionary or hashtable?

0 Answers  


What is dao in c#?

0 Answers  


How do I join one form to another in c#?

0 Answers  


What are the 2 types of data types available in c#?

0 Answers  


What is a namespace server?

0 Answers  






What is the difference between a variable and a literal?

0 Answers  


What is stringwriter c#?

0 Answers  


What are properties and indexer?

1 Answers   TCS,


What are immutable types in c#?

0 Answers  


Explain publishers and subscribers in events.

0 Answers  


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

0 Answers   TCS,


Enlist the different types of classes in c#?

0 Answers  


Categories