Top "Null" questions

Null means *nothing* or *unknown*, depending on context.

How to set null value to int in c#?

int value=0; if (value == 0) { value = null; } How can I set value to null above? Any help will be appreciated.

c# .net null int nullable
how do you insert null values into sql server

In sql server enterprise manager, how do you write an insert statement and pass in null values?

sql sql-server null
Best way to check if a character array is empty

Which is the most reliable way to check if a character array is empty? char text[50]; if(strlen(text) == 0) {} or …

c arrays null char
Method call if not null in C#

Is it possible to somehow shorten this statement? if (obj != null) obj.SomeMethod(); because I happen to write this a …

c# null
How to I say Is Not Null in VBA

Hi I have the following expression. I'm trying to say "if the second field Is Not Null". Can you help. …

ms-access null vba
Select rows which are not present in other table

I've got two postgresql tables: table name column names ----------- ------------------------ login_log ip | etc. ip_location ip | location | hostname | …

sql postgresql null left-join exists
Best way to check if an PowerShell Object exist?

I am looking for the best way to check if a Com Object exists. Here is the code that I …

powershell object null powershell-2.0
How to check a Long for null in java

How do I check a Long value for null in Java? Will this work? if ( longValue == null) { return blah; }

java null long-integer
What is the correct way to represent null XML elements?

I have seen null elements represented in several ways: The element is present with xsi:nil="true": <book> &…

xml null xml-nil
Unable to cast object of type 'System.DBNull' to type 'System.String`

I got the above error in my app. Here is the original code public string GetCustomerNumber(Guid id) { string accountNumber = (…

c# asp.net database null