Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 the Types of configuration files and their differences

0 Answers   BirlaSoft,


What is the difference between null and string empty in c#?

0 Answers  


How do you generate documentation from the C# file commented properly with a command-line compiler?

2 Answers  


Tell me the difference between call by value and call by reference.

0 Answers   NIIT,


Integer at long type variable are not object.Support your answer with example.And explain the technique to convert from value type to reference type and vice-versa.

1 Answers   HCL,


Is array reference type / value type ?

6 Answers   Accenture, BirlaSoft,


Illustrate serialization?

0 Answers  


What is icomparer in c#?

0 Answers  


Contrast between an interface and abstract class?

0 Answers   Siebel,


Why do we need delegates in c#?

0 Answers  


Explain what is copy constructor?

0 Answers   BPL,


Can we have static indexer in c#?

0 Answers  


Categories