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 / 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 |
hey friends, Firstly I pick the records from the database into the DataGridView, Then I want that If I made any changes to the records in the GridView & Click on Update Button, Changes are Reflected into the main Database .Plz do reply back
What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....
How a base class method is hidden?
What is friend and protected-friend access specifier in vb.net?
What is the significance of delegates?
i had attended to infosys interview on 17th april 2010...on .net..3+ experience .. to my knowledge i did well in technical and they asked me to wait for next process ..so i waited for 15 min ..later one person came and said give 7-10 days time for intimation of next process do they keep technical and hr on different day ...or i loose the interview ..am confused yaar what accuatly would be happend
What is the main use of a namespace?
hello! I am developing software in vb6 and vb.net separately which i need to generate barcodes e.g i have a string "182346-u",so the problem is that how to generate barcode from this type of string can any body help me please thanks regard !
How do you validate Date by using which validation Control?
Why is the xml infoset specification different from the xml dom?
How do you rate yourself in .NET ?
3 Answers Infosys, Seneca Global,
how to call a list box on the text if some one send me the code for it