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

DataView Update without Reference to the DataAdapter

P: n/a
Is there a way to call DataAdapter.Update from a Dataview when I have no
reference to the DataAdapter?

i.e. The DataView is a class variable however the dataadapter is a local
variable in a sub procedure. From another sub procedure is it possible to
call a dataadapter.update or similar?

Psuedo code is as follows:

Dim _dv as dataview

private sub loaddata()
'stuff to fill dataset
_dv = ds.table(0).defaultview
end sub

private sub updatedb
_dv.update?????????
end sub

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.