"John" <Jo**@nospam.infovis.co.uk> wrote in news:O9PvFhMrEHA.3848
@TK2MSFTNGP14.phx.gbl:
What is the vb code that will reset a webform?
There is no code to reset a form...
But if you want to load the form as if it were "Not Postback" you can go:
reponse.redirect("Webpage").
Otherwise... you can loop through the control collection like:
For ctl as control in Page.Controls
If GetType(ctl) is Gettype(Label) Then
Ctyle(ctl, Label).text = ""
End If
Next
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/