Paulagier
asked on
In WPF / C# binding a local database in code behind
Theoratically, my problem seems quite straightforward !
I have a local database named "QuestLb";
In that database I have a datatable named "Quebec";
In that datatable,, in the code behind, I need to read the (Second Row ; First Column) value (a string type value )
This value, named "ValeurQ1" is binded to a TextBlock :
I have found a lot of examples working in Windows Forms and/or with an external server but nothing with WPF/local database
Thanks for your help
I have a local database named "QuestLb";
In that database I have a datatable named "Quebec";
In that datatable,, in the code behind, I need to read the (Second Row ; First Column) value (a string type value )
This value, named "ValeurQ1" is binded to a TextBlock :
<TextBlock Name="tbkQuestLbl_q1" Text="{Binding Path=ValeurQ1}" </TextBlock>
How can I do that ?I have found a lot of examples working in Windows Forms and/or with an external server but nothing with WPF/local database
Thanks for your help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.