do while not rs.eof if rs("字段一")="" or isnull(rs("字段一")) then echo "是空字段" end if rs.MoveNext loop
Dim rs(30) rs(0)="0" rs(1)="1" rs(2)="2" rs(3)="3" .... rs(30)="" for i=1 to 30 if rs(i)="" or isnull(rs(i)) then response.write "是空字段<br>" else response.write ee(i)&"<br>" end if next