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
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 |
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 |
Are there constructors in c sharp?
What is the use of flag in c#?
What is virtual class in C#?
Hi all,I am the beginner. Please tell use of finally block.
How can we set class to be inherited, but prevent the method from being over-ridden?
What is managed or unmanaged code?
What is pure abstract class in c#?
What does clr stand for?
What’s difference between Association, Aggregation and Inheritance relationships?
What?s the role of the DataReader class in ADO.NET connections?
What is option parameter in C#?
Which of these statements correctly declares a two-dimensional array in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)