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 |
What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?
What is an enumerator in c#?
Is there hashmap in c#?
What?s an interface class?
Write the difference between TypeOf and GetType?
What is ispostback c#?
What is HashTable, what is the use of it, when do we use (purpose).
If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.
How do I enforce const correctness in c#?
can multiple catch blocks be executed for a single try statement?
Why do we use dataset in c#?
What are custom attributes 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)