Here is my code.
If i Click the cell data which is a LinkLabel I want to display a message.I wanted to access the click event of that Linkcolum as per cell data. how will i do this... I could only access the click event of the datagrid. Help please thanks...
VB.NET:
With dgvBrowseTeacher
.AutoGenerateColumns = False
.ReadOnly = True
.AlternatingRowsDefaultCellStyle.BackColor = SystemColors.Info
.SelectionMode = DataGridViewSelectionMode.FullRowSelect
Dim TeacherName As New DataGridViewLinkColumn
With TeacherName
.DataPropertyName = "TeacherName"
.Name = "TeacherName"
.HeaderText = "Teacher Name"
.Width = 230
End With
.Columns.Add(TeacherName)
End With
If i Click the cell data which is a LinkLabel I want to display a message.I wanted to access the click event of that Linkcolum as per cell data. how will i do this... I could only access the click event of the datagrid. Help please thanks...