These will be different for a Data List or other objects – that code can generally be found in the MSDN Library.
Most of the commands have a built-in method – for example, if the command is “Update”, the Form View comes with a Update Item method.
I created a new property for the provider name which gets the value from the Rad Combo Box Selected Item.
Let's start with the Grid View sample from the previous post, configured to use Model Binding to show some data from the Northwind Products table.
The Grid View calls the configured Get Products method, which in turn is using Entity Framework Code First to simply return the Products property on my Northwind data context instance.
It's important that the Data Key Names property is set to the primary key (or keys) of the model type, so that the Grid View can round-trip this value with the page between the browser and server.
NET MVC - and integrates them nicely with the Web Forms server control model.
If you haven't already, read the first two parts in this series on Model Binding, which covers the basics of selecting data via the new Select Method property on data-controls like the Grid View, as well as filtering that data based on input from the user.