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...


Can you handle all button click events at once in a form?
Give coding.



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

Post New Answer

More Dot Net Framework Interview Questions

What is the domain object?

0 Answers  


What are authentication filters in web api?

0 Answers  


Why is entity framework used?

0 Answers  


How do you do role based security ?

1 Answers   Accenture, BirlaSoft,


What is the difference between entity framework and mvc?

0 Answers  


VIEWS WITH SYNTAX AND EXAMPLE IN SQL

1 Answers  


What is the benefit of entity framework?

0 Answers  


I want ask from plz smaple example code for Biztalkk server

0 Answers  


Can you declare an override method to be static if the original method is non-static

1 Answers  


Mention the core components of .net framework?

0 Answers  


What is different between User Control and Web Control and Custom Control?

2 Answers  


Difference between .NET & J2EE

1 Answers  


Categories