protected void btnSyncAttend_Click(object sender, EventArgs e) { string strCompanyID = string.Empty, strMsg = string.Empty; DateTime dtTravle = new DateTime(); ltlMsg.Text = string.Empty; strCompanyID = txtCompanyID.Text.Trim(); DateTime.TryParse(txtTravelMonth.Text + "-1", out dtTravle); SMT.SaaS.OA.BLL.TravelmanagementBLL bllTravel = new BLL.TravelmanagementBLL(); bllTravel.SyncAttenceRecordForCompany(strCompanyID, dtTravle, ref strMsg); ltlMsg.Text = strMsg; }
protected void btnSyncAttend_Click(object sender, EventArgs e) { string strCompanyID = string.Empty, strMsg = string.Empty; DateTime dtTravle = new DateTime(); ltlMsg.Text = string.Empty; strCompanyID = txtCompanyID.Text.Trim(); DateTime.TryParse(txtTravelMonth.Text + "-1", out dtTravle); SMT.SaaS.OA.BLL.TravelmanagementBLL bllTravel = new BLL.TravelmanagementBLL(); bllTravel.SyncAttenceRecordForCompany(strCompanyID, dtTravle, ref strMsg); ltlMsg.Text = strMsg; }