Data update

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top