Cannot bind ReadOnlyBase object

Cannot bind ReadOnlyBase object

Old forum URL: forums.lhotka.net/forums/t/11758.aspx


jhelak posted on Tuesday, December 18, 2012

Trying to bind to ReadOnlyBase business object in a asp.net formview and getting Data source is an invalid type. It must be either an IListSource, IEnumerable, or IDataSource.

Can this not be done?

 

Thanks

JonnyBee replied on Tuesday, December 18, 2012

Loook at this solution on StackOverflow:

http://stackoverflow.com/questions/1119822/how-do-i-bind-an-asp-net-formview-to-a-single-record

 

Copyright (c) Marimer LLC