On Fri, 2010-01-29 at 19:01 -0800, jbm417 wrote: > I have converted an app from SqlServer 2005 to FireBird using DbLinq. > Most of the app works but I have run into a quirk where I need help. > > In Server, I used the following: > > var loadQuery = > from x in db.loads > orderby x.LDate > select x; > > loadBindingSource.DataSource = loadQuery; > loadBindingNavigator.BindingSource = loadBindingSource; > ........ > > However in FireBird/DbLinq the above code causes the Add icon in the > BindingNavigator to be disabled -- grayed out. > > In order to make the Add icon reappear, become enabled, I need to > change the BindingSource datasource to the table name -- loads -- thus > making no use of loadQuery and consequently the orderby feature.
I'm not entirely sure what the semantics for BindingNavigator are, but could this be because 'loadQuery' doesn't implement IListSource? e.g. http://code.google.com/p/dblinq2007/issues/detail?id=153 I know that for normal data binding and paging IListSource is required, so that's all I can guess... - Jon -- You received this message because you are subscribed to the Google Groups "DbLinq" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/dblinq?hl=en.
