You are probably binding with a DataReader. Try casting to a System.Data.Com mon.DbDataRecor d
You will also need to change the way that you access the "Title" field.
For example:
((System.Data.C ommon.DbDataRec ord)Container.D ataItem).GetStr ing(1)
Where 1 == Column ordinal for "Title"
See http://dynamicreflecti ons.blogspot.co m/2007_12_01_arch ive.html
Leave a comment: