The DataSet. AddwordRow can only be written to the cache, but did not submit to the database? How to modify, thank you!
Private Sub BTNWriteDB_Click (sender As Object, As EventArgs e) Handles BTNWriteDB. Click
'to write database
With AnswerDataSet1. Word
AddwordRow (themno:=ThemId, myid:=myid, mysubid:=mysubid, secid:=secid, pageid:=pageid, paraghid:=paraghid, stylename:=StyName, searchtext:=searchtext, myvalue:=TXTValue. Text, score:=CMBScore. SelectedIndex)
End With
AnswerDataSet1. Word. The AcceptChanges ()
MessageBox. Show (" write successful ")
End Sub