Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / November 2006

Tip: Looking for answers? Try searching our database.

newbie - dataset

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bz - 14 Nov 2006 19:58 GMT
Hi,

Would need some help to understand this.

From what I have learned so far:
1) DataSet is a small database in memory.
2) I use the data adapter to "fill" a dataset.
3) Although the DataSet is disconnected, the Data Adapter is not.
4) So, my program will always connect to the database at all time.

My question is that:

After I "fill" the dataset,
If I disconnect the connection to the database,
how do I update the changes in the dataset back to the database?

Thanks!

> There is no answer.
> There has not been an answer.
> There will not be an answer.
> That IS the answer!
> And I am screwed.
> Deadline was due yesterday.
>
> There is no point to life.
> THAT IS THE POINT.
> And we are screwed.
> We will run out of oil soon.

http://spaces.msn.com/bzDaCat
Miro - 14 Nov 2006 20:51 GMT
Check the data Adapter.UPDATE

once you have written your data to the data adapter..you have to update the
adapter.

Search this newsgroup for a post i did on Wednesday, September 13 2006 9:31
pm
Subject  : Help with Adding a Row
From :  Miro

It shows a whole example with an Adapter.Update

Miro

> Hi,
>
[quoted text clipped - 27 lines]
>
> http://spaces.msn.com/bzDaCat

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.