| ADO.NET Programming in Visual Basic .NET |
By Steve Holzner, Bob Howell
|Table of Contents|
Now we will move on to Web Forms. We have not done too much with Web Forms until now. Because of this I will be a little more detailed in my instructions when it comes to creating the example projects. But relax, because in the .NET world, creating a Web Form is very similar to creating a Windows Form. As a matter of fact, because of the nature of the Web, Web Forms are much simpler than Windows Forms in many ways. For one thing, we do not have to respond to every move the user makes when entering data because there are no events that fire back to the server, due to the limitations of web-based architecture. As with Windows Forms, there are many controls that can be bound, and there is a Web DataGrid control. The difference is that these controls separate the programmatic functionality from how they are rendered. All these controls render themselves by emitting standard HTML. For example, the DataGrid ends up creating a standard HTML table when it is sent to the client. This is very similar to the old design-time ActiveX controls we used in Visual InterDev.