title: How to display errors on a page without validation Summary?
body: <p>I am working on a project in which i read multiple field from an excel file and save them in db.How to show multiple errors messages on a page if user enters wrong value. Aspose.cells is used for reading data.My code is</p>
  
  <pre><code>    public List&lt;Data&gt; ImportFromExcel(Stream bytes, out bool isFine)
      {
          isFine = true;
          DateTime DOJ;
  
          List&lt;Data&gt; list = new List&lt;Data&gt;();
          DataTable dt = new DataTable();
  
          Workbook workBook = new Workbook();
          workBook.Open(bytes);
  
          Worksheet workSheet = workBook.Worksheets[0];
          try
          {
              dt = workSheet.Cells.ExportDataTable(0, 0, workSheet.Cells.MaxRow + 1, workSheet.Cells.MaxColumn + 1, true);
  
          }
          catch (Exception ex)
          {
              isFine = false;
              ShowMessage("Your file has some invalid formats of data. Please review it and try again.", MessageType.Error, true);
              return null;
          }
  
          try
          {
              int i = 1;
  
              foreach (DataRow reader in dt.Rows)
              {
                  if (reader["LetterId"].ToString().Length &gt; 75)
                  {
                      isFine = false;
                      ShowMessage("In Row Number " + i + " Letter Id cannot exceed 75 characters.", MessageType.Error, true);
                      return null;
                  }
                  if (reader["Subject"].ToString().Length &gt; 75)
                  {
                      isFine = false;
                      ShowMessage("In Row Number " + i + " Subject cannot exceed 75 characters.", MessageType.Error, true);
                      return null;
                  }
                   .
                   .
                   .
  </code></pre>
  
  <p>Show message method shows only single error message.</p>