Link to home
Start Free TrialLog in
Avatar of Paulagier
PaulagierFlag for France

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 :
<TextBlock Name="tbkQuestLbl_q1"  Text="{Binding Path=ValeurQ1}" </TextBlock>

Open in new window

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
Avatar of Paulagier
Paulagier
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial