Handles Me.Load actually causes your Page_Load method to execute. That was
your problem earlier when you couldn't change values.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."
<> wrote in message
news: oups.com...
> When I change to the following code it works:
>
> Sub Page_Load(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles Me.Load
> If (Not IsPostBack) Then
> If Len(Request.QueryString("Mode")) > 0 Then
> FormView1.ChangeMode(FormViewMode.Edit)
> FormView1.DefaultMode = FormViewMode.Edit
> End If
> End If
> End Sub
>
> What does Handles Me.Load do?
>
> Regards,
>
> S
>
|