随笔分类 -  数据库

DataGrid自定义分页存储过程
摘要:存储过程代码: CREATE proc page@RecordCount int output,@QueryStr nvarchar(100)='table1',--表名、视图名、查询语句@PageSize int=20, --每页的大小(行数)@PageCurrent int=1, --要显示的页@FdShow nvarchar (1000)='*', --要显示的字段列表@Identit... 阅读全文

posted @ 2006-02-28 17:24 阿伟 阅读(309) 评论(0) 推荐(0)

在asp中调用存储过程的几种方法
摘要:这几天老板老是叫我帮他把asp脚本改成存储过程 ,拼了命的看书,下面是从网上找到的一篇文章觉得不错,收藏它, (^_^)1 这也是最简单的方法,两个输入参数,无返回值:set connection = server.createobject("adodb.connection")connection.open someDSN Connection.Execute "procname varvalu... 阅读全文

posted @ 2005-08-31 21:53 阿伟 阅读(965) 评论(0) 推荐(0)

把一个asp页面代码改成存储过程实现(第一天上班的任务)
摘要:原来的asp代码如下:count8 then Response.Write("www.169.comcount=error") response.end else dim conn,jobb,dtime,ddate1,int,ddate2,ddate3,ddate,dtime1,dtime2 set conn=server.CreateObject("adodb.connect... 阅读全文

posted @ 2005-08-31 21:44 阿伟 阅读(852) 评论(0) 推荐(0)

导航