|
ASP快速开发方法之数据操作(8) If sql<>"" then Opendatabase Rs.open sql,conn,1,1 If not Rs.eof then Thedata=Rs.GetRows(-1) Closedatabase Num=Thedata(0,0) Else Closedatabase End If End If SelectCountNum=Num End Function '将查询的数据全部生成隐藏值 public Function GetHiddenData(sql) dim tempvalue If sql<>"" then Opendatabase Rs.open sql,conn,1,1 If not Rs.eof then Thedata=Rs.getRows(-1) TheFieldCount=rs.fields.count For i=0 to TheFieldCount-1 TheFieldList = TheFieldList & Rs.fields(i).name & ","
|