Click here to Skip to main content
15,902,276 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Error when add a record in the database Pin
Mekong River15-Aug-07 23:11
Mekong River15-Aug-07 23:11 
GeneralRe: Error when add a record in the database Pin
MartyK200715-Aug-07 23:22
MartyK200715-Aug-07 23:22 
GeneralRe: Error when add a record in the database Pin
Mekong River15-Aug-07 23:05
Mekong River15-Aug-07 23:05 
GeneralRe: Error when add a record in the database Pin
Christian Graus15-Aug-07 23:21
protectorChristian Graus15-Aug-07 23:21 
GeneralRe: Error when add a record in the database Pin
Tom Deketelaere15-Aug-07 23:24
professionalTom Deketelaere15-Aug-07 23:24 
GeneralRe: Error when add a record in the database Pin
Mekong River15-Aug-07 23:54
Mekong River15-Aug-07 23:54 
GeneralRe: Error when add a record in the database Pin
Christian Graus15-Aug-07 23:57
protectorChristian Graus15-Aug-07 23:57 
GeneralRe: Error when add a record in the database Pin
Mekong River16-Aug-07 0:01
Mekong River16-Aug-07 0:01 
The below is the exception, please help:

System.Data.OleDb.OleDbException was unhandled
  ErrorCode=-2147217900
  Message="Syntax error in INSERT INTO statement."
  Source="Microsoft JET Database Engine"
  StackTrace:
       at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
       at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
       at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
       at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
       at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
       at DIC_Donor_Database.frmOrgProf.btnAdd_Click(Object sender, EventArgs e) in C:\Documents and Settings\roathkanel\My Documents\Visual Studio 2005\Projects\DIC Donor Database\DIC Donor Database\frmOrgProf.vb:line 90
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(ApplicationContext context)
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at DIC_Donor_Database.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

GeneralRe: Error when add a record in the database Pin
Christian Graus16-Aug-07 0:11
protectorChristian Graus16-Aug-07 0:11 
GeneralRe: Error when add a record in the database Pin
Mekong River16-Aug-07 0:19
Mekong River16-Aug-07 0:19 
GeneralRe: Error when add a record in the database Pin
Tom Deketelaere16-Aug-07 0:32
professionalTom Deketelaere16-Aug-07 0:32 
GeneralRe: Error when add a record in the database Pin
Christian Graus16-Aug-07 11:50
protectorChristian Graus16-Aug-07 11:50 
AnswerRe: Error when add a record in the database Pin
Vimalsoft(Pty) Ltd16-Aug-07 22:20
professionalVimalsoft(Pty) Ltd16-Aug-07 22:20 
QuestionProblem with Combobox Populating And Sorting Pin
Vimalsoft(Pty) Ltd15-Aug-07 21:48
professionalVimalsoft(Pty) Ltd15-Aug-07 21:48 
AnswerRe: Problem with Combobox Populating And Sorting Pin
Luc Pattyn16-Aug-07 0:10
sitebuilderLuc Pattyn16-Aug-07 0:10 
GeneralRe: Problem with Combobox Populating And Sorting Pin
Vimalsoft(Pty) Ltd16-Aug-07 0:16
professionalVimalsoft(Pty) Ltd16-Aug-07 0:16 
QuestionThe SourceCode Manage Pin
codelinks15-Aug-07 21:21
codelinks15-Aug-07 21:21 
AnswerRe: The SourceCode Manage Pin
Dave Kreskowiak16-Aug-07 3:08
mveDave Kreskowiak16-Aug-07 3:08 
GeneralRe: The SourceCode Manage Pin
codelinks16-Aug-07 3:13
codelinks16-Aug-07 3:13 
Questionhow can i get the domain Name/IP under which my mahine works Pin
koolprasad200315-Aug-07 21:01
professionalkoolprasad200315-Aug-07 21:01 
AnswerRe: how can i get the domain Name/IP under which my mahine works Pin
Tom Deketelaere15-Aug-07 21:12
professionalTom Deketelaere15-Aug-07 21:12 
Questionhow to populate data in the DDL Pin
biswa4715-Aug-07 20:16
biswa4715-Aug-07 20:16 
AnswerRe: how to populate data in the DDL Pin
codelinks15-Aug-07 20:45
codelinks15-Aug-07 20:45 
AnswerRe: how to populate data in the DDL Pin
codelinks15-Aug-07 20:48
codelinks15-Aug-07 20:48 
Questionclass [modified] Pin
nitin315-Aug-07 20:08
nitin315-Aug-07 20:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.