string strCheckNullOrEmpty = null;if (!string.IsNullOrEmpty(strCheckNullOrEmpty)){ Response.Write("string is not empty and not null");}else{ Response.Write("string is either empty and not null");}