\'提取此页数据
‘*******************************
’*******************************
\'合成网页
wb.InsertHTML("","<div id=\'div1\' style=\'overflow-x:auto;width:100%\'>")
With wb.AddTable("","Table1")
.Cr eateFromDataTable(c md.ExecuteReader)
.ColWidth = "12px,100px,100px,100px,120px,100px,100px,120px,120px,120px,120px,120px,120px,120px,120px,120px" \'设置列宽
.Highlight = 0 \'高亮显示
\' .Alternate = 2 \'每两行显示一个不同背景颜色的行
.RowHead = 1
End With
wb.InsertHTML("","</div>")
With wb.AddButtonGroup("","btg2", False)
If page > 0 Then
.Add("btnPrev", "上一页","","LuDanList.htm?page=" & page - 1)
End If
If Endrow < count Then
.Add("btnNext", "下一页","","LuDanList.htm?page=" & page + 1)
End If
If flt = "" Then
.Add("btn1", "筛选", "","LuDanFilter.htm").kind = 1
Else
.Add("btn1", "取消筛选", "","LuDanList.htm?unfilter=true").kind = 1
End If
End With
End Select
e.WriteString(wb.Build)