By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,699 Members | 1,453 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,699 IT Pros & Developers. It's quick & easy.

Data update

P: n/a
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.
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Rado,
I make connection with database, dataadapter and dataset.
How can I update only one item in my database.
no whole row.


Using just the Executenonquery with an SQL updatestring

http://msdn.microsoft.com/library/de...querytopic.asp

I hope this helps?

Cor
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.