Sunday, March 11, 2012

Validation, Running a Script to Validate in FormView

Let me add this, to clarify my question. If I have a subroutine like the one below, how do I access the data fields in the FormView? E.g. FormView.textfield.Text just gives a syntax error. Likewise, Form1.textfield.Text and; form1.FormViewtextfield.Text and; document.form1.textfield.Text and; document.formview.textfield.Text.

Protected Sub FormViewInsertEventHandler(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewInsertEventArgs)

ErrMsg.Text = "Your reservation has been processed."

End Sub

No comments:

Post a Comment