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

Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana

0 Answers  


Is python easier than c#?

0 Answers  


Define using statement in c#?

0 Answers  


What is the difference between readkey and readline in c#?

0 Answers  


What is an example of delegation?

0 Answers  






Is 0 an unsigned integer?

0 Answers  


What is boxing and unboxing in c#?

0 Answers  


What is the difference between firstordefault and singleordefault?

0 Answers  


Why objects are stored in heap in c#?

0 Answers  


What is string programming language?

0 Answers  


What is jit? What are the different types of jit?

0 Answers  


What floating point types is supported in C#?

0 Answers  


Categories