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 |
int i = 1; int j = 1; System.Console.WriteLine(i == j); System.Console.WriteLine(i.ToString() == j.ToString()); System.Console.WriteLine((object)i == (object)j); Give the sample code above, what is the output to the console?
What is a shared assembly?
What operator means?
What is public, private, protected, internal and internal protected?
How do you create multiple inheritance in C#?
5 Answers Infosys, KenIndia, Microsoft,
What is #region in c#?
Distinguish between system.string and system.text.stringbuilder classes?
What is sqladapter c#?
What happens if a static constructor throws an exception?
Define a strong name in .net?
What is delegates & multicast delegate?
What is sqldataadapter 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)