一个简单的oracle分页数据库存储过程的实现和调用
时间:2007-12-23 来源:不详 作者:迈克DB
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
Dim psql As String = "select rownum rn,t.* from cd_ssxl t"
gridbind(0, psql, 20)
End If
内容来自dedecms
End Sub
---------------------------------------------------------------------------------------
Private Sub DataGrid1_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles DataGrid1.PageIndexChanged
Dim psql As String = "select rownum rn,t.* from cd_ssxl t"
本文来自织梦
Me.DataGrid1.CurrentPageIndex = e.NewPageIndex
gridbind(e.NewPageIndex, psql, 20)
End Sub
asp?tags=分页">分页
上一篇:在ORACLE的数据库存储过程中如何做简单的动态查询 下一篇:数据库存储过程概述
文章评论
共有位Admini5网友发表了评论 查看完整内容