Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Sets or returns whether NULL values in the imported dataset be ignored or converted to blank cells.

...

Wiki Markup
{description}
{excerpt}Sets or returns whether NULL values in the imported dataset be ignored or converted to blank cells.

If this is set to {{true}}, then existing values and formulas will preserved in cells, if this set to {{false}}existing data in cells will be replaced with blank cells which will clear existing formulas or cell values.

...

{signature}
{example}{code:csharp|title=C#}

          //--- Get IgnoreNulls
          bool ignoreNulls = importProps.IgnoreNulls;

          //--- Set IgnoreNull
          importProps.IgnoreNulls = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get IgnoreNulls
          Dim ignoreNulls As Boolean = importProps.IgnoreNulls

          '--- Set IgnoreNulls
          importProps.IgnoreNulls = True
        
Signature
C#C#
{excerpt}
{signature:C#}
 public boolean IgnoreNulls{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property IgnoreNulls() As Boolean
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle
Remarks
When IgnoreNulls is set to true it will also affect column names when UseColumnNames is also set to true.
{code}

{example}

{remarks}When {{IgnoreNulls}} is set to {{true}} it will also affect column names when {{UseColumnNames}} is also set to true.
{remarks}