rfid技术课程设计

内容发布更新时间 : 2025/1/12 0:25:22星期一 下面是文章的全部内容请认真阅读。

e.New(1);

e.RenameWorksheet((size_t)0, L\职工考勤\

BasicExcelWorksheet* sheet = e.GetWorksheet(L\职工考勤\sheet->Cell(0,0)->SetWString(\日期\sheet->Cell(0,1)->SetWString(\星期\sheet->Cell(0,2)->SetWString(\姓名\sheet->Cell(0,3)->SetWString(\部门\sheet->Cell(0,4)->SetWString(\上班\sheet->Cell(0,5)->SetWString(\下班\CListCtrl *hlist=&_lists;

int rows=hlist->GetItemCount();

int lows=hlist->GetHeaderCtrl()->GetItemCount(); int i,j;

COleDateTime odt; for(i=1;i<=rows;i++) { for(j=0;jCell(i,j)->SetWString(hlist->GetItemText(i-1,j)); } } i=i+2; int m,n;

m=_latearray.GetSize();

sheet->Cell(i,0)->SetWString(\迟到\i++;

for(n=0,j=0;nCell(i,j++)->SetWString(_latearray.GetAt(n).GetDate()); sheet->Cell(i,j++)->SetWString(_latearray.GetAt(n).GetWeek()); sheet->Cell(i,j++)->SetWString(_latearray.GetAt(n).GetName()); sheet->Cell(i,j++)->SetWString(_latearray.GetAt(n).GetDepartment()); } i=i+2;

m=_leaveearlyarray.GetSize();

sheet->Cell(i,0)->SetWString(\早退\i++;

for(n=0,j=0;nCell(i,j++)->SetWString(_leaveearlyarray.GetAt(n).GetDate()); sheet->Cell(i,j++)->SetWString(_leaveearlyarray.GetAt(n).GetWeek()); sheet->Cell(i,j++)->SetWString(_leaveearlyarray.GetAt(n).GetName()); sheet->Cell(i,j++)->SetWString(_leaveearlyarray.GetAt(n).GetDepartment()); }

25

i=i+2; m=_absentarray.GetSize(); sheet->Cell(i,0)->SetWString(\缺勤\ i++; for(n=0,j=0;n

>>展开全文<<
12@gma联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4 ceshi