Logo Search packages:      
Sourcecode: yahtzeesharp version File versions  Download package

override void YahtzeeSharp::DataSets::dsScoreCard::Reset (  )  [inline]

override the reset to leave the primary key column RowTitle intacted and set the games to dbnull

Definition at line 129 of file dsScoreCard.cs.

                  foreach(DataRow dr in this.Tables["dtScoreCard"].Rows)
                        dr[1] = DBNull.Value;
                        dr[2] = DBNull.Value;
                        dr[3] = DBNull.Value;
                        dr[4] = DBNull.Value;
                        dr[5] = DBNull.Value;
                  // if the dataset is empty then it will need to have the row title filled
                  if(this.Tables["dtScoreCard"].Rows.Count == 0)

Generated by  Doxygen 1.6.0   Back to index