This is especially useful when using a master page but you don't want every page using the master page to refresh.
In the Page_Load() event handler, add this code:
'Refresh the page every 30 seconds.
Dim lit As New LiteralControl("<meta equiv=""refresh"" content=""30"" />")
Thursday, October 18, 2007
Sunday, October 14, 2007
If you're reusing a form and are trying to make it the main form of an application, and you get this error, ensure that the constructor for the form takes no arguments.