if (string.isNullOrEmpty(textbox.Text)) { // entry is null }
if (IsDbNull(myDecimalValue)) { // entry is null }
decimal?
HasValue
decimal? d; if (!d.HasValue) { //d is null }
null
if (d == null)
d = null;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)