I have code like this in my WPF view ..
And then I have fill this field from my database from my collection and work properly. But when I try to change one of the value all the data that have some binding attributes changes at the same time
`ListBlok2B[0].B2BR1A` and `ListBlok2B[1].B2BR1A` changes at the same time when I try to edit inside it..
Anyone knows how to solve this? I want it to bind in different index collection that I have so I can insert it to my database`context.Blok2Bs.insertAllOnSubmit(ListBlok2B)`
<!--Column 2--><Border Grid.Column="1" Grid.Row="1" ><TextBox x:Name="textB2BR0K2" Text="{Binding Path=ListBlok2B[0].B2B1}" /></Border><TextBox x:Name="textB2BR1AK2" Grid.Column="1" Grid.Row="4" Text="{Binding Path=ListBlok2B[0].B2BR1A}"/><TextBox x:Name="textB2BR1BK2" Grid.Column="1" Grid.Row="5" Text="{Binding Path=ListBlok2B[0].B2BR1B}"/><TextBox x:Name="textB2BR1CK2" Grid.Column="1" Grid.Row="6" Text="{Binding Path=ListBlok2B[0].B2BR1C}"/><!--Column 3--><Border Grid.Column="2" Grid.Row="1" ><TextBox x:Name="textB2BR0K3" Text="{Binding Path=ListBlok2B[1].B2B1}" /></Border><TextBox x:Name="textB2BR1AK3" Grid.Column="2" Grid.Row="4" Text="{Binding Path=ListBlok2B[1].B2BR1A}"/><TextBox x:Name="textB2BR1BK3" Grid.Column="2" Grid.Row="5" Text="{Binding Path=ListBlok2B[1].B2BR1B}"/><TextBox x:Name="textB2BR1CK3" Grid.Column="2" Grid.Row="6" Text="{Binding Path=ListBlok2B[1].B2BR1C}"/>And then I have fill this field from my database from my collection and work properly. But when I try to change one of the value all the data that have some binding attributes changes at the same time
`ListBlok2B[0].B2BR1A` and `ListBlok2B[1].B2BR1A` changes at the same time when I try to edit inside it..
Anyone knows how to solve this? I want it to bind in different index collection that I have so I can insert it to my database`context.Blok2Bs.insertAllOnSubmit(ListBlok2B)`