Hallo Zusammen,
ich bekomme irgendwie die Datenbindung zum DataGrid mit meiner DataTable nicht gebacken. Was mache ich noch falsch?
Private DTT as new DataTable
Public Property View DataTable
Get
Return DTT
Set(byval
....
End Property
Private Sub ButtonSuche ...
ViewDataTable = DBWork.pDataTable
MyDataGrid.DataContext = ViewDataTable
End Sub
<Window x:Class="BasicWindows.Adresssuche">
[...]
<ScrollViewer Name="ScrollViewer" ... >
<DataGrid Name="MyDatagrid" ItemsSource="{Binding Path=SCZ_Kontokorrent}" AutoGeneratedColumns="True">
</dataGrid>
</ScrollViewer>
Das Ganze ist relativ simpel, da ich momentan noch experimentiere und verstehen möchte, wie es funzt...
Gruss
Torsten