ASP中怎么取得记录集
<%
dim conn,strSQL,rs
set conn = Server.CreateObject("ADODB.Connection")
conn.ConnectionString="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=sa;Initial Catalog=MarcketGoodsSys;Data Source=."
conn.open
strSQL="select ProdTypeDescr from ProdType"
rs=conn.execute (strSQL)
rs.RecordCount
%>
这种写发是错误的 谁告诉我怎么改啊?