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

Can you declare a class or a struct as constant?

0 Answers  


what is the purpose of using statement in c#

0 Answers   Cognizant,


Why multiple inheritance is not possible in c#

8 Answers  


Do events have return type c#?

0 Answers  


What exactly is serverless?

0 Answers  






What is concrete method in c#?

0 Answers  


When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

2 Answers   Mind Tree,


What is dto c#?

0 Answers  


What is the difference between function and method in c#?

0 Answers  


What is lastindexof c#?

0 Answers  


Differentiate between object pooling and connection pooling in c#?

0 Answers  


What is using keyword in C#?

0 Answers   UGC Corporation,


Categories