ASP中可以这样:
for i=0 to rs.fields.count-1
response.Write("<th>" & rs(i).name & "</th>")
next i do while not rs.eof
response.Write("<tr>")
for i=0 to rs.fields.count-1 then
response.Write("<td>" & rs(i).value & "</td>")
next i
response.Write("</tr>")
rs.movenext
loopVC中如何类似迅速读出?而不用一句一句的(_bstr_t)pRst->GetCollect("id")这样,很麻烦。