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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. what is this mean?

what is this mean?

Scheduled Pinned Locked Moved Visual Basic
questionhelp
3 Posts 3 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.
  • P Offline
    P Offline
    pandapatin
    wrote on last edited by
    #1

    error msg Name 'CommandBehavior' is not declared. objReader = MyCmd.ExecuteReader(CommandBehavior.CloseConnection) how can i solve it..

    D S 2 Replies Last reply
    0
    • P pandapatin

      error msg Name 'CommandBehavior' is not declared. objReader = MyCmd.ExecuteReader(CommandBehavior.CloseConnection) how can i solve it..

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      I think it's quite obvious. You don't have an object, or other type, declared with the name CommandBehavior. Perhaps you're missing an Imports System.Data line at the top of your code? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      • P pandapatin

        error msg Name 'CommandBehavior' is not declared. objReader = MyCmd.ExecuteReader(CommandBehavior.CloseConnection) how can i solve it..

        S Offline
        S Offline
        Steve Pullan
        wrote on last edited by
        #3

        pandapatin wrote:

        how can i solve it..

        For a start you could try looking up the error in the Visual Studio help. Saves a lot of time and energy - and doesn't clog the forum with unecessary posts. ...Steve "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." (Translation: I'll show you the way, but not write the code for you.) I read that somewhere once :-)

        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