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 / .NET Framework / ADO.NET / April 2006

Tip: Looking for answers? Try searching our database.

Pseudo code for updating Access db using VB and ASP.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
glenn - 04 Apr 2006 20:39 GMT
Hi folks,

I have been hunting for a code snippet to update an Access db using VB and
ASP.NET.  So far, nothing that helps me.  I am using OleDb libraries.

Can anyone provide me with the general steps or calls involved.  Here is
where I am at so far.  Any guidance would be great...

Sub UpdateRows()

  '  1) OPEN A CONNECTION
  '  2) GET EXISTING COLUMN DATA
  '  3) PROVIDE AN UPDATE SQL STATEMENT
       '( NOT SURE WHAT THE SYNTAX SHOULD BE ON THIS)
  '  4) USE OleDbParameter TO PASS IN THE UPDATES
       '( NOT SURE WHAT THE SYNTAX SHOULD BE ON THIS)
  '  5) CLOSE THE CONNECTION

End Sub
   
Paul Clement - 06 Apr 2006 15:04 GMT
¤ Hi folks,
¤
¤ I have been hunting for a code snippet to update an Access db using VB and
¤ ASP.NET.  So far, nothing that helps me.  I am using OleDb libraries.
¤
¤ Can anyone provide me with the general steps or calls involved.  Here is
¤ where I am at so far.  Any guidance would be great...
¤
¤ Sub UpdateRows()
¤
¤    '  1) OPEN A CONNECTION
¤    '  2) GET EXISTING COLUMN DATA
¤    '  3) PROVIDE AN UPDATE SQL STATEMENT
¤         '( NOT SURE WHAT THE SYNTAX SHOULD BE ON THIS)
¤    '  4) USE OleDbParameter TO PASS IN THE UPDATES
¤         '( NOT SURE WHAT THE SYNTAX SHOULD BE ON THIS)
¤    '  5) CLOSE THE CONNECTION
¤
¤ End Sub

The following should help you get started:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/
office12062001.asp

http://support.microsoft.com/kb/821765/EN-US/
   

Paul
~~~~
Microsoft MVP (Visual Basic)

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.