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

I am using a data table and a datagridview. I am creating two columns in data grid view : 1)DataGridViewComboBoxColumn 2)DataGridViewTextBoxColumn. The items of datagridviewcombo are the list of all items in data table column 1. I want that the data type of the DataGridViewTextBoxColumn should be the same as the data type of the item selected from the datagridviewcombo at runtime. How can I do that.Also I want that each cell in column of datatable should be of variable data type. Pls help. thnx.

1 Answers   Storm,


What is dictionary collection in c#?

0 Answers  


What is data bind in c#?

0 Answers  


What is ilasm.exe used for?

0 Answers  


What is Dispose method in .NET ?

9 Answers   247Customer, KAP, TCS,


Are there constructors in c sharp?

0 Answers  


difference between keyword internal and protected?

5 Answers   HCL,


Why multiple inheritance is not possible in c#

8 Answers  


windows c# using datagridview in edit form sql server

0 Answers  


What Is A Satellite Assembly?

0 Answers   PUCIT, Siebel Systems,


What is different between Implicit conversion and Explicit conversion in C#?

0 Answers  


How do I register my code for use by classic com clients?

0 Answers  


Categories