'*** Hyperlink ***'
Dim hplEdit As Hyperlink = CType(e.Row.FindControl("hplEdit"),Hyperlink)
IF Not IsNothing(hplEdit) Then
hplEdit.Text = "Edit"
IF e.Row.DataItem("Status") = "0" Then
hplEdit.NavigateUrl = "AspNetAccessEditForm1.aspx?CustomerID=" & e.Row.DataItem("CustomerID")
Else
hplEdit.NavigateUrl = "AspNetAccessEditForm2.aspx?CustomerID=" & e.Row.DataItem("CustomerID")
End IF
End IF