Hi,

At September 2, 2015, 5:34 PM, Kevin Donn wrote:

> I've stumbled on either the depth of my own ignorance or a fairly
> serious problem when using the Firebird .NET Client in a WPF app. It
> seems there's something wrong with the columns that get built during
> FbDataAdapter.Fill(DataTable). The columns do not seem to support data
> binding properly. Specifically, UI elements don't get updated when
> values in the column change. The example code I've provided
> demonstrates that columns created prior to Fill and columns created
> after Fill both work as expected, but columns created during Fill do
> not. The example also shows that if you fill the DataTable from a SQL
> Server source with everything else kept the same, columns created
> during Fill work as expected.

> To run the project you'll need to provide some connection string info
> and modify the query to return a few rows of string data with a field
> named LastName. You may also need to drop in a reference to the
> Firebird Client assembly which I removed so as not to send any
> binaries.

> When the interface comes up, alter any value in the third column and
> tab away. The expectation is that the value in the fourth column will
> reflect the change, but for me it doesn't. I'm running against a 2.1.4
> server. If you alter the value in either the first or second column
> and tab away, the other column is updated.

Someone   asked  a  similar  question on StackOverflow, and the answer
might be of some help to you:
http://stackoverflow.com/questions/15484296/wpf-bind-control-to-dataview

We use ADO.Net Entity Framework for the binding in WPF.  It works
very well, and very well suited for WPF data binding.

-- 
Best regards,
 Daniel Rail
 Senior Software Developer
 ACCRA Solutions Inc. (www.accra.ca)
 ACCRA Med Software Inc. (www.filopto.com)


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to