Assign nulll value to an Integer

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Assign nulll value to an Integer

    assign it to 'nothing' instead

    dim x as integer

    x = nothing

    NULL is pretty much gone in VB.NET

    "DudeGuy" <hrock2000@yahoo.com> wrote in message
    news:054001c35224$bf2689a0$a101280a@phx.gbl...
    > Anybody has any ideas how to assin an Integer variable to
    > Null value in VB.NET Thanks in advance

    Boban Dragojlovic Guest

  2. Similar Questions and Discussions

    1. Assign to XMLListCollection
      I have an XMLListCollection called persPages. persPages that is equal to the XML shown below.I want to modify the last child element in the...
    2. #39278 [Opn->Bgs]: strpos($needle, $integer) returns 0 for certain values of $integer
      ID: 39278 Updated by: tony2001@php.net Reported By: matt at raines dot me dot uk -Status: Open +Status: ...
    3. #39278 [NEW]: strpos($needle, $integer) returns 0 for certain values of $integer
      From: matt at raines dot me dot uk Operating system: GNU/Linux 2.4.27 PHP version: 5.1.6 PHP Bug Type: Strings related Bug...
    4. How do you assign an ID to ListItem?
      How can I assign an ID to dynamically generation ListItem that I add to dynamically generated CheckBoxList or RadioButtonList? I need to identify...
    5. How to assign a F key to a command?
      I'm trying to assign FKey to scanner so I don't have to do it in multiple steps. There used to be a location to assign Function keys to any command...
  3. #2

    Default Re: Assign nulll value to an Integer

    But "Nothing" will assign "0" to the integer varaiable, I
    would like to assign "NULL" value to this INTEGER
    varaiable. Can body know how to do that? Thanks!

    >-----Original Message-----
    >assign it to 'nothing' instead
    >
    >dim x as integer
    >
    >x = nothing
    >
    >NULL is pretty much gone in VB.NET
    >
    >"DudeGuy" <hrock2000@yahoo.com> wrote in message
    >news:054001c35224$bf2689a0$a101280a@phx.gbl...
    >> Anybody has any ideas how to assin an Integer variable
    to
    >> Null value in VB.NET Thanks in advance
    >
    >
    >.
    >
    DudeGuy Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139