Columns will only be cleaned if they are not read-only. This is useful if a DataTable has been populated by setting columns from a Business Layer object which will returns zeros and blank Strings instead of DBNulls for primary keys and blank strings.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| dataTable | DataTable | The DataTable to Clean. | ||
| convertNullCurrencyToZero | Boolean | Optional | Indicates whether to Convert Null Currency (Decimal) columns to Zero. If omitted, a value of False is assumed. | |
| removeColumnPrefix | String | Optional | All columns with the specified prefix will be removed. |