Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. unhandled exception

unhandled exception

Scheduled Pinned Locked Moved Visual Basic
question
9 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LokmanHakim
    wrote on last edited by
    #1

    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?

    J 1 Reply Last reply
    0
    • L LokmanHakim

      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?

      J Offline
      J Offline
      John Kuhn
      wrote on last edited by
      #2

      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.

      L 1 Reply Last reply
      0
      • J John Kuhn

        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.

        L Offline
        L Offline
        LokmanHakim
        wrote on last edited by
        #3

        owh.....hmmm....is it maybe because i input the wrong data type?

        J 1 Reply Last reply
        0
        • L LokmanHakim

          owh.....hmmm....is it maybe because i input the wrong data type?

          J Offline
          J Offline
          John Kuhn
          wrote on last edited by
          #4

          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.

          L 1 Reply Last reply
          0
          • J John Kuhn

            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.

            L Offline
            L Offline
            LokmanHakim
            wrote on last edited by
            #5

            one more thing....what exactly insertcommand.executenonquery do?:confused:

            J 1 Reply Last reply
            0
            • L LokmanHakim

              one more thing....what exactly insertcommand.executenonquery do?:confused:

              J Offline
              J Offline
              John Kuhn
              wrote on last edited by
              #6

              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.

              L 1 Reply Last reply
              0
              • J John Kuhn

                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.

                L Offline
                L Offline
                LokmanHakim
                wrote on last edited by
                #7

                John Kuhn wrote: without returning the affected records. what does it mean?

                J 1 Reply Last reply
                0
                • L LokmanHakim

                  John Kuhn wrote: without returning the affected records. what does it mean?

                  J Offline
                  J Offline
                  John Kuhn
                  wrote on last edited by
                  #8

                  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.

                  L 1 Reply Last reply
                  0
                  • J John Kuhn

                    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.

                    L Offline
                    L Offline
                    LokmanHakim
                    wrote on last edited by
                    #9

                    owh....ok...thanx man...sorry for taking your time

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups