Why this handler doesnot fire anything… ?
following is my code.
Private Sub Form1_Load…
Dim cell As DataCell
For Each cell In Grid1.DataRowTemplate.Cells
AddHandler Cell.Click, AddressOf showDetail
Next Cell
DataAdapter1.SelectCommand = New SqlCommand(“Select * from Table1,Sqlcon)
Sqlda.Fill(Dataset1)
Grid1.DataSource = Dataset1.Tables(0)
End Sub
Private Sub showDetail (Byval sender As System.Object, ByVal e As System.EventArgs)
msgbox (“click”)
End Sub
Imported from legacy forums. Posted by PETE (had 1914 views)