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

Which is faster dictionary or hashtable?

0 Answers  


What is difference between a type and class?

0 Answers   Arigo Infotech,


Explain what are three test cases you should go through in unit testing?

0 Answers  


without modifying source code if we compile again, will it be generated MSIL again?

0 Answers  


What is multithreading with .net?

0 Answers  






How do you sort an array in c#?

0 Answers  


What is boolean conditions in c#?

0 Answers  


Is null empty or whitespace c#?

0 Answers  


How do you inherit from a class in C#?

1 Answers  


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

0 Answers  


How can I develop an application that automatically updates itself from the web?

0 Answers  


What are the advantages of using partial classes?

0 Answers  


Categories