unhandled exception
-
what doe it mean by this.... An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.windows.forms.dll can somebody tell me?
-
what doe it mean by this.... An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.windows.forms.dll can somebody tell me?
An error occurred while you were performing a database operation or attempting to access a database. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
-
An error occurred while you were performing a database operation or attempting to access a database. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
owh.....hmmm....is it maybe because i input the wrong data type?
-
owh.....hmmm....is it maybe because i input the wrong data type?
OleDbException is generic for lots of things. Depends on what you were trying to do and what your code looks like. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
-
OleDbException is generic for lots of things. Depends on what you were trying to do and what your code looks like. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
one more thing....what exactly insertcommand.executenonquery do?:confused:
-
one more thing....what exactly insertcommand.executenonquery do?:confused:
Assuming that "insertcommand" refers to an instance that has been initialized as an OleDbCommand object that has its command text set to an "INSERT INTO ..." statement, then insertcommand.ExecuteNonQuery() should execute the command without returning the affected records. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
-
Assuming that "insertcommand" refers to an instance that has been initialized as an OleDbCommand object that has its command text set to an "INSERT INTO ..." statement, then insertcommand.ExecuteNonQuery() should execute the command without returning the affected records. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
John Kuhn wrote: without returning the affected records. what does it mean?
-
John Kuhn wrote: without returning the affected records. what does it mean?
MSDN: Executes a SQL statement against the Connection and returns the number of rows affected. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
-
MSDN: Executes a SQL statement against the Connection and returns the number of rows affected. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
owh....ok...thanx man...sorry for taking your time