Ejemplo n.º 1
0
        private string RowToString(ITableRow row)
        {
            string s = row.AsString(_key);
            string option;

            option = (_field1 >= 0) ? row.AsString(_field1) : "";
            option = (_field2 >= 0) ? option + ", " + row.AsString(_field2) : option;
            option = (_field3 >= 0) ? option + ", " + row.AsString(_field3) : option;

            if (option.Length > 0)
            {
                s = s + " (" + option + ")";
            }
            return(s);
        }