| 急求:recordcount=-1的问题 |
| [ 来源:ITWENKU 时间:2006-9-8 23:42:05 | 浏览:199人次
] |
| |
|
Set rs3 = conn.Execute ("SELECT date1 FROM user where date1<>'0' ") Response.Write rs3.RecordCount rs3.Close Set rs3 = Nothing 结果出现-1,不是条件的问题:我把rs3.RecordCount改为rs3("date1")可以输出数据
能不能在依然采用Set rs3 = conn.Execute这种形式下解决这个问题?? 谢谢
Set rs3 = conn.Execute ("select count(date1) as date1 FROM user where date1<>'0' union all SELECT date1 FROM user where date1<>'0' ") Response.Write rs3("date1") rs3.Close Set rs3 = Nothing
感谢!!!
|
|
 |
推荐文章 |
|