get { object loValue; loValue = this.CurrentRow["LeaveCode"]; if (loValue == DBNull.Value) { return ??? //here } else { return (System.String)loValue; } } set { this.CurrentRow["LeaveCode"] = value; }
null
get { object loValue; loValue = this.CurrentRow["LeaveCode"]; if (loValue == DBNull.Value) { return string.empty; } else { return (System.String)loValue; } } set { this.CurrentRow["LeaveCode"] = value; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)