funktioniert leider nicht.
hab momentan folgendes:
Dim ds As New DataSet
Dim da As New SqlDataAdapter("select * from Table_1", con)
'dataset füllen
da.Fill(ds, "a")
'Dim row As DataRow = ds.Tables(0).Rows(0)
Dim tbl As DataTable = ds.Tables(0)
For Each row As DataRow In tbl.Rows
row.BeginEdit()
row("famname") = "aaa"
row.EndEdit()
row.AcceptChanges()
Next
Dim objCommandBuilder As New SqlCommandBuilder(da)
da.Update(ds, "a")
hab momentan folgendes:
Dim ds As New DataSet
Dim da As New SqlDataAdapter("select * from Table_1", con)
'dataset füllen
da.Fill(ds, "a")
'Dim row As DataRow = ds.Tables(0).Rows(0)
Dim tbl As DataTable = ds.Tables(0)
For Each row As DataRow In tbl.Rows
row.BeginEdit()
row("famname") = "aaa"
row.EndEdit()
row.AcceptChanges()
Next
Dim objCommandBuilder As New SqlCommandBuilder(da)
da.Update(ds, "a")