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

Is c# a keyword?

1 Answers  


Is hashset serializable c#?

1 Answers  


What are the ways to deploy an assembly?

1 Answers  


What type is string in c#?

1 Answers  


What is the difference between a field and a property in c#?

1 Answers  


What is the difference between dataset and datatable in c#?

1 Answers  


Do vs while c#?

1 Answers  


Does c# support #define for defining global constants?

1 Answers  


Explain the difference between passing parameters by value and passing parameters by reference with an example?

1 Answers  


What's c# ?

1 Answers  


if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?

1 Answers   Siebel Systems,


How to find the current application file path while runtime?

1 Answers  


Categories