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 |
Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.
What is trace in vb.net?
What is the difference between Dataset and Recordset?
what is vb,net
Explain about visual basic?
How to retrieve images in sql server database through vb.net?
In order to get assembly info whcih namespace we should import?
thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net
What keyword is used to accept a variable number of parameter in a method?
What is the feature which is common to all .net languages?
What is an application domain? how they get created?
What are the differences between server-side and client-side code?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)