private void CheckForIncompleteSkiers() { CalcScoreSummary myCalcScoreSummary = new CalcScoreSummary(); DataTable curDataTable = myCalcScoreSummary.getIncompleteSkiers( mySanctionNum ); TourPackageButton.BeginInvoke( (MethodInvoker)delegate() { Application.DoEvents(); Cursor.Current = Cursors.Default; } ); if ( curDataTable.Rows.Count > 0 ) { StringBuilder curMsg = new StringBuilder( "" ); curMsg.Append( "There are " + curDataTable.Rows.Count + " skiers that have incomplete scores or are marked as not ready to ski" + "\nNote that skiers marked as not ready to ski will not be included in the scorebook or the skier performance file" ); curMsg.Append( "\n\nSkierName AgeGroup Event Round Status" ); foreach ( DataRow curRow in curDataTable.Rows ) { curMsg.Append( "\n" + curRow["SkierName"]); curMsg.Append( " " + curRow["AgeGroup"]); curMsg.Append( " " + curRow["Event"] ); curMsg.Append( " " + curRow["Round"] ); curMsg.Append( " " + curRow["Status"] ); } MessageBox.Show( curMsg.ToString() ); } }