Quote
Store update, insert, or delete statement affected an unexpected number of rows (0).
I looked at this Stack Overflow issue with the same problem and they suggest it's because that there are people overwriting the same row at the same time. I am in a dev environment and I am the only user using this.
Just in case, here is my model:
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web;
using System.Web.Mvc;
namespace ArtAide.Models
{
public class Location
{
public int LocationId { get; set; }
public string Name { get; set; }
}
}
Thanks for the help.

New Topic/Question
Reply



MultiQuote







|