When user clicks GridViewRow Edit, depending on the data in the GridViewRow, enable/disable column(s)
Protected Sub GridView1_RowDataBound(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
Dim Offline_MediaId As Integer = Integer.Parse(e.Row.Cells(1).Text)
If Offline_MediaId > 4 Then
'Dim textBox As TextBox = CType(e.Row.FindControl("txteStart_DATE"), TextBox)
'textBox.Enabled = False
e.Row.Cells(3).Enabled = False
e.Row.Cells(4).Enabled = False
e.Row.Cells(5).Enabled = False
End If
End If
End Sub