Hello,
i have a big problem, try to resolve it since hours.
can't update a table with Linq, throwing no error, no exceptions when execute.
the code take the good value but does not update the db.
here's my code :
var product = (from p in db.TestMultiLogs
where p.Nb_Cnk == testNbCNK && p.ShopID == line.Substring(0, 6)
&& p.filename==filename
select p).FirstOrDefault();
string bla=line.Substring(116, 6);
product.Nb_Cnk = bla;
db.SubmitChanges();
i'd like to know why it doesn't update my table.
am i doing something wrong?
thanks in advance for your precious Help.