Använder en asp:Wizard-komponent och inne i den på en av sidorna har jag en linqdatasource och en gridview. Att hämta data gridviewen fungerar bra men jag ska ta bort eller uppdatera data så får jag felmeddelandet
"Cannot add an entity with a key that is already in use. ".
Om jag drar ut kontrollerna(gridview och datasource) utanför asp:wizard kontrollen så fungerar allt som vanligt.
"Shame then that the Wizard does not fully support databinding of controls within it.
You can read values from a datasource but not write them back into a datasource control so it is useless for collecting information unless you manually code the links (as I had to)."