Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Syntax Error!

Started 1 month, 4 weeks ago by tonyp86
Hey, I'm having a small prob trying to add a new entry to my access databse, the program code is: Imports System.Data Public Class Form1 Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Private...
Site: MSDN Forums  MSDN Forums - site profile
Forum: Visual Studio Debugger  Visual Studio Debugger - forum profile
Total authors: 2 authors
Total thread posts: 4 posts
Thread activity: no new posts during last week
Domain info for: microsoft.com

Other posts in this thread:

Roahn Luo replied 1 month, 4 weeks ago
Hello, To send the changes to the database, we may need to build a CommandBuilder first, for example:         Dim objCommandBuilder As New OleDbCommandBuilder(da)         daAuthors.Update(ds, "Test")         MsgBox("updated successfully") Will you please have a try and tell me the result? For the walkthrough on updating database using DataSet, I recommend you refer to: http://support....

tonyp86 replied 1 month, 3 weeks ago
Sorry but I have already included that code? Dim cb As New OleDb.OleDbCommandBuilder(da)

Roahn Luo replied 1 month, 3 weeks ago
Hello, Could I ask if we checked the type? are they matched? Could we generate a small project of the issue? If you will, please zipped the project to my email account: v-roaluo@microsoft.com Thanks a lot!

 

Top contributing authors

Name
Posts
tonyp86
2
user's latest post:
Syntax Error!
Published (2009-11-02 18:56:00)
Sorry but I have already included that code? Dim cb As New OleDb.OleDbCommandBuilder(da)
Roahn Luo
2
user's latest post:
Syntax Error!
Published (2009-11-03 03:00:00)
Hello, Could I ask if we checked the type? are they matched? Could we generate a small project of the issue? If you will, please zipped the project to my email account: v-roaluo@microsoft.com Thanks a lot!

Related threads on "MSDN Forums":

Related threads on other sites:

Thread profile page for "Syntax Error!" on http://msdn.microsoft.com. This report page is a snippet summary view from a single thread "Syntax Error!", located on the Message Board at http://msdn.microsoft.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity