R
Robert Adrian
I am having troubles updating a row in a dataset. I am
not receiving any errors, it's just not updating. Please
help!
Dim DataAdapter As New SqlClient.SqlDataAdapter(strSQL,
strConn)
Dim DataSet As New Data.DataSet
Dim CommandBuilder As New SqlClient.SqlCommandBuilder
(DataAdapter)
DataAdapter.Fill(DataSet)
Dim Row As DataRow
Row = DataSet.Tables(0).Rows(0)
Row("Key1") = txtKeyword1.Text
DataAdapter.Update(DataSet)
not receiving any errors, it's just not updating. Please
help!
Dim DataAdapter As New SqlClient.SqlDataAdapter(strSQL,
strConn)
Dim DataSet As New Data.DataSet
Dim CommandBuilder As New SqlClient.SqlCommandBuilder
(DataAdapter)
DataAdapter.Fill(DataSet)
Dim Row As DataRow
Row = DataSet.Tables(0).Rows(0)
Row("Key1") = txtKeyword1.Text
DataAdapter.Update(DataSet)