set field to a value after DetailView is updated
<p>After the DetailsView is updated and clicked the Update Command button on the DetailView; I want to set one of the fields to “Complete”.  What am I doing wrong here?  Pls. help.
here is my code behind:</p>

<pre><code> Protected Sub Test(sender As Object, e As System.Web.UI.WebControls.DetailsViewUpdatedEventArgs) Handles DetailsView1.ItemUpdated
        If IsPostBack Then
            Dim TextBox7 As TextBox = TryCast(DetailsView1.Rows(0).Cells(0).FindControl("TextBox7"), TextBox)
            TextBox7.Text = "Complete"
        End If
    End Sub
</code></pre>
