void calBeginEndSec() { string timeBegin = dataTable.Rows[0][0].ToString(); string timeEnd = dataTable.Rows[dataTable.Rows.Count - 1][0].ToString(); beginCentiSec = TheTool.calCentisecond(timeBegin); endCentiSec = TheTool.calCentisecond(timeEnd); }