Hi
on this line dbContext.SubmitChanges(); i get error - System.Data.Linq.ChangeConflictException: 'Row not found or changed.'
protected void btnUpdate_Click(object sender, EventArgs e) { using (SampleDataContext dbContext = new SampleDataContext()) { Employee objEmployee = dbContext.Employees.SingleOrDefault(x => x.EmployeeID == "ET001"); objEmployee.FirstName = "Harjeet"; dbContext.SubmitChanges(); } }
Thanks