Can you handle all button click events at once in a form?
Give coding.
Answer / seema dalal
suppose ,there r 3 buttons & we have to handle all button
click events at once. Then try following steps
1) Write eventhandler
Public Sub clickevent(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click, Button2.Click,
Button3.Click
Dim b As Button = CType(sender, Button)
Response.Write("hello:" & b.Text)
End Sub
2) then call this event handler on click event of eech
buttons.
| Is This Answer Correct ? | 5 Yes | 0 No |
What is the domain object?
What are authentication filters in web api?
Why is entity framework used?
How do you do role based security ?
1 Answers Accenture, BirlaSoft,
What is the difference between entity framework and mvc?
VIEWS WITH SYNTAX AND EXAMPLE IN SQL
What is the benefit of entity framework?
I want ask from plz smaple example code for Biztalkk server
Can you declare an override method to be static if the original method is non-static
Mention the core components of .net framework?
What is different between User Control and Web Control and Custom Control?
Difference between .NET & J2EE