or
MyEntities mE=new MyEntities(); |
var X=from vX in mE.SimpleTable select vX; |
radGridView1.ItemsSource=X; |
this
.grdChurches.ItemsSource = this.Church.GetChurchesByAlpha("A");
The grid is fine and the ItemsSource has 125 records, but I have a business object that I'm trying to bind to the currentrecord of grid which when it runs the following line of code says CurrentRecord is null.
DataRecord record = (DataRecord)grdChurches.CurrentRecord;
This worked just fine under 2008-Q3, so when is CurrentRecord populated now? I tried Records[0] but it also was null.
Thanks,
-Sid.