can't get my example to work either :/ Looks really simple, doesn't error, but records never get written to the file.
Maybe some brighter soul will enlighten us both.Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim objRow As DataRow = DataSet11.Table1.NewRow() objRow("Text") = TextBox1.Text DataSet11.AcceptChanges() OleDbConnection1.Open() Try OleDbDataAdapter1.Update(DataSet11.Table1) Catch ex As Exception MsgBox(ex.Message) Finally OleDbConnection1.Close() End Try End Sub




can't get my example to work either :/ Looks really simple, doesn't error, but records never get written to the file.
Reply With Quote