public void SetFields() { if (this.Sheet != null) { this.Fields = new string[this.Height, this.Width]; for (int i = 0; i < this.Fields.Length; i++) { for (int j = 0; j < this.Width; j++) { string text = TExcel.GetCellValue(this.Sheet, this.StartRow + i, this.StartCol + j); if (text.StartsWith("@")) { if (text.StartsWith("@@")) { this.Fields[i, j] = text; } else { this.Fields[i, j] = text.TrimStart("@".ToCharArray()); } } } } } }