the selected inf of other combobox?How do you achieve it?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dynamic in c#?

470


How garbage collection deals with circular references.

471


Explain how to add controls dynamically to the form using c#.net.

558


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

556


What is difference between string and string builder?

527






How long can a string be c#?

511


What is the use of protected in c#?

499


What is the difference between paramaterized constructor and copy constructor?

511


Name the two classes are required for implementing a windows service?

552


What is void in c#?

533


What do you mean by hashtable c#?

575


Can property be private in c#?

505


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!

1685


Is null or empty in c#?

546


How do you escape a character?

491