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 are the advantages of interface in c#?

496


What is jit (just in time)?

542


What is xml comments in c#?

485


Explain the difference between proc. Sent by val and by sub?

472


What is tochararray in c#?

441






In a single .NET DLL how many classes it contains?

508


Why is static constructor called first?

476


Is vs as c#?

506


What is the default scope of a class in c#?

477


Differentiate between sqlclient oledb and providers?

489


Why ref is used in c#?

462


What are value types in c#?

495


What is c# entity framework?

488


What is an escape sequence?

508


Can abstract class instantiated c#?

491