Estoy tratando de guardar datos en la BD y me produce el siguiente error:
DateTime x = DateTime.Now;
Historial = Textbox2.Text
Search_History dtHistory = new Search_History();
dtHistory.ID = 1;
dtHistory.Date = x.Day.ToString() + "/" + x.Month.ToString() + "/" + x.Year.ToString();
dtHistory.Time = x.Hour.ToString() + ":" + x.Minute.ToString() + ":" + x.Second.ToString();
dtHistory.Search = Historial;
db.AddToSearch_History(dtHistory);
db.SaveChanges();

omixan - Lo único difícil es identificar el problema.... Física, Mecatrónica, C++, SQL Server Aprendiz de VB y C# .Net