DateTime转化为数值
fileName = "投资团队ID"+cboTeamID.Text.Trim(); fileName += " 开始时间" + string.Format("{0:yyyyMMddHHmmss}",dtpTeamStart.Value); fileName += " 结束时间" + string.Format("{0:yyyyMMddHHmmss}", dtpTeamEnd.Value);
fileName = "投资团队ID"+cboTeamID.Text.Trim(); fileName += " 开始时间" + string.Format("{0:yyyyMMddHHmmss}",dtpTeamStart.Value); fileName += " 结束时间" + string.Format("{0:yyyyMMddHHmmss}", dtpTeamEnd.Value);