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. what is the differance between empty and null

what is the differance between empty and null

Scheduled Pinned Locked Moved Visual Basic
question
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.
  • V Offline
    V Offline
    vipinpaliwal1980
    wrote on last edited by
    #1

    hello hi, pls give what is the differance between empty and null vipin paliwal

    S G 2 Replies Last reply
    0
    • V vipinpaliwal1980

      hello hi, pls give what is the differance between empty and null vipin paliwal

      S Offline
      S Offline
      Socheat Net
      wrote on last edited by
      #2

      Null is zero length string Empty depent on ................

      1 Reply Last reply
      0
      • V vipinpaliwal1980

        hello hi, pls give what is the differance between empty and null vipin paliwal

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        That depends on the context. In programming null is a reference to nothing, or a pointer that doesn't point anywhere. In VB the Nothing keyword is used for a null reference. In programming empty has no special meaning, it's just something that doesn't contain anything. For instance a string with the length zero. In databases null is used in fields that contains no data. Any field can contain null, unless the table specification forbids null in the field. An empty value in a database is a text field than contains no characters. A numeric field or date field can not be empty. --- b { font-weight: normal; }

        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