Problem with ASP.NET 2.0 SP1

Microsoft has changed a part in the existing ASP.NET source code under ASP.NET 2.0 SP1. is located. We have noticed that the use of Container.DataItem (“column name”) no longer works without it. Instead, you may use DataBinder.Eval (Container.DataItem, “column name”).

Alternatively, you can change data source from DataReader to DataSet.

The problem has been reported to Microsoft who classifies the problem as a bug in ASP.NET 2.0 SP1.

This applies to Repeater, ItemList and DataGrid:

Microsoft has published changes that are included in ASP.NET 2.0 SP1 at:

Was this article helpful?

Related Articles