模板为
此主题相关图片如下:截图.bmp
![dvubb 图片点击可在新窗口打开查看](UploadFile/2013-5/201352411482748565.bmp)
代码为
Select Case e.Book.TempLate
Case "员工履历表"
Dim drs As List(Of DataRow) = e.DataRow.GetChildRows("学历信息")
Dim i As Integer = 1
Dim max As Integer = 3
For Each dr As DataRow In drs
If i >= max Then
Exit For
End If
e.Book.Marks("学历" & i) = dr("学历")
e.Book.Marks("毕业院校" & i) = dr("毕业院校")
e.Book.Marks("专业" & i) = dr("专业")
i = i + 1
Next
End Select
可能出现三个学历的情况
此主题相关图片如下:截图1.bmp
![dvubb 图片点击可在新窗口打开查看](UploadFile/2013-5/20135241149381255.bmp)
现在只要全日制和最高学历,有什么办法解决?
[此贴子已经被作者于2013-5-24 11:52:11编辑过]