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


hi,everyone. i got a problem in handling linklabels. i've
more than one linklabels in a form. i used following event
handler to handle the event 'LinkClicked' of Linklabel.

private sub LinkLabel1_LinkClicked() Handles
LinkLabel1.LinkClicked,LinkLabel2.LinkClicked
...............
..........
end sub

My question is how to identify the 'Linklabel1'
and 'Linklabel2'.

i dont want to handle the events of linklabels individually.



hi,everyone. i got a problem in handling linklabels. i've more than one linklabels in a form...

Answer / dinesh

Private Sub LinkLabel_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs)
Handles
LinkLabel1.LinkClicked,LinkLabel2.LinkClicked

dim strName as string=sender.name

end sub.

Now the strname contains the name of linklabel clicked.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More VB.NET Interview Questions

What are Major Feature of VB.NET Over C#.NET

9 Answers   Wipro,


Can you please explain the difference between dispose and finalize()?

0 Answers  


How can we store decimal data in .net?

0 Answers  


What is the strong name in .net assembly?

0 Answers  


what is vb.net?

10 Answers  


How many ways the function can return values?

0 Answers  


How do you call a stored procedure in Visual Basic?

0 Answers   CGI,


How to store images in sql server database through vb.net?

0 Answers  


when we will use console ?

3 Answers  


Difference between a sub and a function?

2 Answers  


What does assert() method do In VB.NET

0 Answers   MCN Solutions,


diff b/w windows and console application?

4 Answers  


Categories