更新数据库的SQL转换成LINQ,怎么写?有人会不
update spepbulletin set title=N'{0}',POST_LEVEL=N'{1}',postcontent=N'{2}',postdate=sysdate where id='{3}'",
txtTitle.Text,selLevel.SelectedItem.Value,txtPostcontent.Text,txtId.Text
------解决方案--------------------var s=db.spepbulletin.Find(int.Pares(txtId.Text));
s.title=...
s.post_levele=..
db.SaveChanges();