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
How many classes a dll can contain?
How to connect crystal report in vb.net ?
What is a static class?
described weak typing?
What are the technology areas that microsoft.net contains?
Explain managed code?
Explain the difference between datatable and dataset?
Name some different types of control?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
Explain global assembly cache (gac)?
What is jagged array in vb.net?
What is the main use of a namespace?
Explain cts?
How vb implements the disconnected architecture as like vb.net?
What is non_deterministic finalization?