I'm working on a GridView and I'm databinding a List<BusinessObject> to it. All is well until I tweaked some code and suddenly, I got this System.Web.HttpException with message A data item was not found in the container. The container must either implement IDataItemContainer, or have a...
i was applying the business rules on our CSLA derived business objects last week. when it came to the UI, we have this repeater control to display friendly messages to the user on our master page. i was about to bind the broken rules' descriptions of the concerned business object in the said repeater...
Databinding for data controls uses reflection to iterate its datasource and obtain usually the value and the text to be displayed for the control. If you did not specify a DataTextField for the control, what will be displayed for each item will be their ToString() representation. I'm sure you have experienced...