Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
If e.DataCol.Name = "申报年度" OrElse e.DataCol.Name = "卷号" Then e.DataRow("岗位个数_女性") = DataTables("开发登记").Compute("count(性别)","申报年度='" & e.DataRow("申报年度") & "' and 卷号='" & e.DataRow("卷号") & "' and [性别] = '女'") e.DataRow("岗位个数_男性") = DataTables("开发登记").Compute("count(性别)","申报年度='" & e.DataRow("申报年度") & "' and 卷号='" & e.DataRow("卷号") & "' and [性别] = '男'") e.DataRow("岗位个数-数量") = e.DataRow("岗位个数_女性") + e.DataRow("岗位个数_男性") End If |