<%@LANGUAGE="VBSCRIPT"%> <% Dim rsBrowse Dim rsBrowse_numRows Set rsBrowse = Server.CreateObject("ADODB.Recordset") rsBrowse.ActiveConnection = MM_asp2htm_STRING rsBrowse.Source = "SELECT ID_News, N_Title, N_FilePath, N_Date,T_TypeName ,N_shibie,N_Type_ID FROM T_News INNER JOIN T_Type ON T_News.N_Type_ID=T_Type.ID_Type ORDER BY N_Date DESC" rsBrowse.CursorType = 0 rsBrowse.CursorLocation = 2 rsBrowse.LockType = 1 rsBrowse.Open() rsBrowse_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 rsBrowse_numRows = rsBrowse_numRows + Repeat1__numRows %> <% ' *** Recordset Stats, Move To Record, and Go To Record: declare stats variables Dim rsBrowse_total Dim rsBrowse_first Dim rsBrowse_last ' set the record count rsBrowse_total = rsBrowse.RecordCount ' set the number of rows displayed on this page If (rsBrowse_numRows < 0) Then rsBrowse_numRows = rsBrowse_total Elseif (rsBrowse_numRows = 0) Then rsBrowse_numRows = 1 End If ' set the first and last displayed record rsBrowse_first = 1 rsBrowse_last = rsBrowse_first + rsBrowse_numRows - 1 ' if we have the correct record count, check the other stats If (rsBrowse_total <> -1) Then If (rsBrowse_first > rsBrowse_total) Then rsBrowse_first = rsBrowse_total End If If (rsBrowse_last > rsBrowse_total) Then rsBrowse_last = rsBrowse_total End If If (rsBrowse_numRows > rsBrowse_total) Then rsBrowse_numRows = rsBrowse_total End If End If %> <% ' *** Recordset Stats: if we don't know the record count, manually count them If (rsBrowse_total = -1) Then ' count the total records by iterating through the recordset rsBrowse_total=0 While (Not rsBrowse.EOF) rsBrowse_total = rsBrowse_total + 1 rsBrowse.MoveNext Wend ' reset the cursor to the beginning If (rsBrowse.CursorType > 0) Then rsBrowse.MoveFirst Else rsBrowse.Requery End If ' set the number of rows displayed on this page If (rsBrowse_numRows < 0 Or rsBrowse_numRows > rsBrowse_total) Then rsBrowse_numRows = rsBrowse_total End If ' set the first and last displayed record rsBrowse_first = 1 rsBrowse_last = rsBrowse_first + rsBrowse_numRows - 1 If (rsBrowse_first > rsBrowse_total) Then rsBrowse_first = rsBrowse_total End If If (rsBrowse_last > rsBrowse_total) Then rsBrowse_last = rsBrowse_total End If End If %> 宁波大榭开发区投资控股有限公司
今天是
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="445" height="60">
学习安排
学习动态
专题交流
 
 
 
 
 
 



 您现在的位置:主页>学习贯彻党章专题教育专栏>>专题交流

增强四种意识,践行求真务实 ——吴珍 2006-8-15
增强四个意识 , 不断完善自我 ——许丽巧 2006-8-15
增强党员意识 做实事求实效 ——黄守东 2006-8-15
学习张才国书记的“四个意识”有感 ——徐红宇 2006-8-15
认真学习党章 增强“四种意识” ——叶朝阳 2006-8-15
在增强四种意识中争做学习贯彻党章的模范 ——周敏杨 2006-8-15
实践“三个代表”重要思想,增强“四种意识” ——王万群 2006-8-15
尽心尽责做好本职工作是负责任的最好体现 ——阮永章 2006-8-15
对“四种意识”的认识和理解 ——王桂芬 2006-8-15
从意识走向实践 ——范鲲 2006-8-15
树立社会主义荣辱观,促进公司可持续发展 ——王万群 2006-7-3
学习“社会主义荣辱观”的心得体会 ——阮永章 2006-7-3
学习《八荣八耻》心得体会 ——黄守东 2006-6-26
学习“八荣八耻”心得体会 ——王桂芬 2006-6-26
心得体会 ——周敏杨 2006-6-26
“八荣八耻”思想汇报 ——徐红宇 2006-6-26
树立社会主义荣辱观,从自身做起 ——许丽巧 2006-6-26
让“八荣八耻”成为企业文化的重要组成部分 ——范鲲 2006-6-26
对“八荣八耻”的一些理解和认识 ——叶朝阳 2006-6-26
“明荣辱 转作风 塑形象”专题讨论心得体会 ——吴珍 2006-6-26

返 回

 

 

首页 | 网站地图 | 信息反馈 | 友情链接 | 合作伙伴 | 联系我们
Copyright© 2003-2004 TZKG.com All Rights Reserved
版权所有 TZKG.COM

<% rsBrowse.Close() Set rsBrowse = Nothing %> /**/