D
David
Using VS2005, ASP.Net and SQL Server. What ADO command set do I need to
both read and update selected records in a table? I want to do something
with each one and then update a column on that record before moving to the
next record.
For example:
cmdSelectStaff = New OleDbCommand(strSQL, conFileData)
dtrStaff = cmdSelectStaff.ExecuteReader()
While dtrStaff.Read()
dtrStaff("column") = "xyz"
dtrStaff.Update
End While
I cannot find an .update method. Is there a different reader I should be
using? Thanks.
David
both read and update selected records in a table? I want to do something
with each one and then update a column on that record before moving to the
next record.
For example:
cmdSelectStaff = New OleDbCommand(strSQL, conFileData)
dtrStaff = cmdSelectStaff.ExecuteReader()
While dtrStaff.Read()
dtrStaff("column") = "xyz"
dtrStaff.Update
End While
I cannot find an .update method. Is there a different reader I should be
using? Thanks.
David