protected string TrimValue(string value) { if (value == null) { return String.Empty; } return value.Trim(); }