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
What is asp net c#?
Why are strings in c# immutable?
Perfect Example Of While And Do-While Loop In C#.Net ?
How is method overriding different from overloading?
How does bitwise work?
How do you mark a method obsolete?
Why do we need events in c#?
What is difference between a type and class?
Contrast between an interface and abstract class?
Can we overload the main method in c#?
What is the reason behind the invention of c#?
How do I open the console?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
Define constructors
Is there an equivalent to the instanceof operator in visual j++?