If e.DataCol.Name = "请假结束日期" OrElse e.DataCol.Name = "请假开始日期" Then e.DataRow("请假天数")= (e.DataRow("请假结束日期")-e.DataRow("请假开始日期")).TotaldaysEnd If