the selected inf of other combobox?How do you achieve it?



the selected inf of other combobox?How do you achieve it?..

Answer / pankil patel

We can use Events and Delegates for this purpose.
1) Create one Delegate with one Parameter and event for it.
From SelectedIndexChanged event of combobox, fire new event
and pass parameter (selected value in combobox)
2) Point Delegate to the function where you want to use
this selected value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are most desktop applications written in?

0 Answers  


Hi all,I am the beginner. Please tell use of finally block.

6 Answers   IBM,


What is delegates in c#?

0 Answers  


Which is faster dictionary or list?

0 Answers  


What is a method signature c#?

0 Answers  






Why use a singleton instead of static methods?

0 Answers  


What is mvc firstordefault?

0 Answers  


Can a constructor have a return type?

0 Answers  


What is the difference between returning iqueryable vs ienumerable?

0 Answers  


What are the two kinds of properties?

10 Answers   Wipro,


Why dictionary is used in c#?

0 Answers  


Is c# an array?

0 Answers  


Categories