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 are the components of the .net framework.

0 Answers  


WHICH IS MORE SECURED AMONG JAVA AND .NET?

7 Answers  


Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?

0 Answers  


How does the .net framework 3.0 relate to the .net framework 2.0?

0 Answers  


Explain the 'page lifecycle' of an ASP.NET MVC?

0 Answers  


How route table has been created in asp.net mvc?

0 Answers  


Explain .Net Framework? Why we use it?

0 Answers   MaxSolPro,


How is method overriding different from method overloading

1 Answers   Siebel Systems,


What's the difference between const and readonly ?

2 Answers  


about triggers?

6 Answers   CSC,


Explain representational state transfer (rest) in detail?

0 Answers  


What is side-by-side execution? Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables

1 Answers  


Categories