+ 9 - 3 | § ¶More ASP.NET 2.0
Lots of progress in ASP.NET 2.0 in the last weeks. GridView, DetailsView and FormView can be considered feature complete. Most of the work went to GridView, but once it was complete, implementing DetailsView and FormView has been really easy, since they share all databinding infrastructure. I've also implemented all field classes which are also shared by those controls. Well, FormView does not use field controls, because it is based on template controls. Which reminds me that two-way binding is already working. With two-way binding you can do things like:<asp:TextBox ID="textbox1" runat="server" Text="<%# Bind ("Name") %>" />
This will show the value of the Name property of the bound object in the text box, and if you change that value in the text box, the object's property will be updated when submitting the form.
The ObjectDataSource control is also mostly complete (only the caching features are missing), and it's been very useful for testing all databound controls, since it is a full-featured datasource control, with support for update, delete and insert, paged selects and so on.
This is a screenshot of an aspx page that uses a GridView in synch with a details view to show a master/detail list of mono contributors. The data is taken from a hand made list of MonoContributor objects, which supports all data source features: sorting, updating, deleting. I'll add this sample to the xsp sample directory.
