'*** Hyperlink ***'
Dim hplEdit As Hyperlink = CType(e.Row.FindControl("hplEdit"),Hyperlink)
IF Not IsNothing(hplEdit) Then
hplEdit.Text = "Edit"
hplEdit.NavigateUrl = "AspNetAccessEditForm.aspx?CustomerID=" & e.Row.DataItem("CustomerID")
End IF
ทำใน
Protected Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DataGrid1.ItemDataBound