Hi,
I keep getting this Row not found or changed error.
I've already tried changing the dbml property Udate Check to "never", without results.
I would greatly appreciate any help I can get on this matter.
Below is the code of the .cs file.
Thanx
MikeFIF
Code:
protected void Button13_Click(object sender, EventArgs e)
{
FacturatieDataContext adm1n = new FacturatieDataContext();
Beheren beheer3 = new Beheren();
Beheren beheer2 = new Beheren();
//select the row
var b3h3er1 = from c in adm1n.Beherens
where c.Naambeheer == TextBox1.Text
select c;
//Make a new beheren
beheer3.Naambeheer = TextBox4.Text;
//the old beheren
beheer2.Naambeheer = TextBox1.Text;
//submit the changes
adm1n.Beherens.Attach(beheer3,beheer2);
adm1n.SubmitChanges();
}