If you are testing:
If variableName Is Nothing Then
the equivalent is
if(variableName == null)
{
}
There is no direct, 100% equivalent of the function IsNothing, but the test
against null accomplishes the same thing.
NOTE: For some objects, there are IsNull() methods. For example, SQL data
types:
if(mySqlInt.IsNull())
{
}
You can also test a dataRow in this manner
if(myDataRow.IsNull())
{
}
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Jim Heavey" <Ji*******@nospam.com> wrote in message
news:Xn*********************************@207.46.24 8.16...
I am trying to transition from VB.Net - what is the equivalent if the
IsNothing()?
Thanks in advance for your assistance!!!!!!!!!