In Visual C# 2005 SP1, I added an object data source to a web page that uses my business class as the select method. The method has one parameter of type Guid. The data source wizard generates code like this
Although the web server has .Net 2.0 SP1 installed (I checked the registry), it still throws an error
Type 'System.Web.UI.WebControls.Parameter' does not have a public property named 'DbType'
The walk around is easy: