J
jc
Duh..
How do I do this? CreditId is my datakey, but I can't seem to get to
it.
Dim dgItem As GridViewRow
For Each dgItem In gridEmployeeCredits.Rows
If dgItem.DataItem("CreditId") = 0 Then
Dim textboxCreditDate As TextBox =
CType(dgItem.FindControl("textboxCreditDate"), TextBox)
textboxCreditDate.Text = ""
End If
Next
Thanks.
How do I do this? CreditId is my datakey, but I can't seem to get to
it.
Dim dgItem As GridViewRow
For Each dgItem In gridEmployeeCredits.Rows
If dgItem.DataItem("CreditId") = 0 Then
Dim textboxCreditDate As TextBox =
CType(dgItem.FindControl("textboxCreditDate"), TextBox)
textboxCreditDate.Text = ""
End If
Next
Thanks.