Code:
Public Sub UpdateDB()
Dim db As New linqclassesDataContext
Dim article = From p In db.articles _
Where p.id = articlelist.SelectedValue _
Select p
article.FirstOrDefault.body = FCKeditor1.Value
Try
db.SubmitChanges()
Catch ex As ChangeConflictException
fcke_output.Text = ex.Message
End Try
End Sub
no errors are thrown, but my database value is not updated. Any ideas?