Data update

  • Thread starter Thread starter Rado
  • Start date Start date
R

Rado

Hello.
I make connection with database, dataadapter and dataset.
How can I update only one item in my database.
no whole row.

If I want update whole row I can do it with this code:
Dim bm As BindingManagerBase

Dim drv As DataRowView

bm = Me.BindingContext(Me.dataadapter1, "table1")

drv = CType(bm.Current, DataRowView)

drv.EndEdit()

Me.dataadapter1.Update(Me.dataset1.table1)





Thanks for answers.
 
Back
Top