I am new to windows forms application programming. When my web form is initially displayed, I need it to automatically call a method which will load a GridView control on the page. If I were writing a web application, I could do this using the OnPageLoad method, or the Init method. In windows form programming I have no idea how to have a method called before a web form is rendered to the screen. So how can this be done in VB .net? I thought I read about a main method, but am not sure about that, since that method is not autogenerated when I create a winform page.