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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is vb.net a programming language?

1029


Described strong typing and weak typing?

1116


When do you use virutal keyword?

1044


What are the different types of applications supported in .net (or) .net framework?

988


What are the different variables in vb.net?

1010


What is the purpose of an Assembly?

1126


Name the class which allows an element to be accessed using unique key?

1063


How does vb.net achieve polymorphism?

984


Tell me how many .net languages can a single .net dll contain?

995


source code for how to login a vb.net application ?

1086


Tell me which namespace are used for accessing the data?

1065


What are the objects in asp.net?

1196


Explain about the ruby interface generator?

1022


Explain global assembly cache (gac)?

1199


What is break mode? What are the options to step through code?

1121