当前位置:首页 » 服务器技术
开发技术指南» 文章正文
    引言: asp分页的一个类, 在50,000条记录下测试过,速度比ad
 

 

    摘要: (欢迎访问www.kunwsoft.com) 以前在使用vb来实现多线程的时候,发现有一定的难度。虽然也有这样那样的方法,但都不尽人意,但在c#中,要编写多线程应用程序却相当的简单。这篇文章将作简要的介绍,以起到抛砖引玉的作用! .net将关于多线程的功能定义在system.threading名字空间中。因此,要使用多线程,必须先声明引用此名字空间(using system.threading;)。 即使你没有编写多线程应用程序的经验,也可能听说过......
 ·javatwo 2004 in taiwan 紀事    »显示摘要«
    摘要:舊金山有 javaone, 台灣有 javatwo 雖然沒有 javaone 來自各地先驅名流聚集, 但是台灣的 java 界同好也都有到場互動 第一天的早上, 是由台灣昇陽主持, 相關的一些未來發展與介紹, 包括 motorala, mac, nokia 等等的國際大廠一起為 java 大力推廣 與前幾屆不同的地方, 這次加入了 javagirl 的選拔賽 讓整個充滿陽剛之氣的 java 研討會, 轉換為一個選美大會 也讓呆呆不敢認識美眉的......


asp分页的一个类

asp分页的一个类,

<% 【相关文章:图解Java开发工具JBuilder 9

在50,000条记录下测试过,速度比ado的那个要快多了 【扩展阅读:用ActionForm一次获取表单所有参

【扩展信息:图解Java开发工具JBuilder 9

´************************************************************************************

´具体用法

´set conn=server.createobject("adodb.connection")

´conn.open "driver={sql server};server=(local);uid=sa;pwd=1230;database=music"

´set rs = mp.execute("select * from musiclist",conn,29)

´while not rs.eof

´ response.write rs2("musicname")&"<br>"

´ rs2.movenext

´wend

´mp.pagedispaly()

´************************************************************************************

class mypage

 private mypage_conn,mypage_strsql,mypage_totalstrsql,mypage_rs,mypage_totalrs

 private mypage_pagesize

 private mypage_pageabsolute,mypage_pagetotal,mypage_recordtotal

 private mypage_url

 public property let conn(strconn)

  set mypage_conn = strconn

 end property

 public property let pagesize(intpagesize)

  mypage_pagesize = cint(intpagesize)

 end property

 public function pageexecute(strsql)

  mypage_pageabsolute = mypage_pageabsoluterequest()

  mypage_totalstrsql = formatmypage_totalstrsql(strsql) 

  set mypage_totalrs = mypage_conn.execute(mypage_totalstrsql)

  mypage_recordtotal = mypage_totalrs("total")

  mypage_pagetotal = cint(mypage_recordtotal/mypage_pagesize)

  mypage_strsql = formatmypage_strsql(strsql)

  set mypage_rs = mypage_conn.execute(mypage_strsql)

  dim i


...   下一页
    摘要:3. program examples 示例程序 all examples have been derived from miniterm.c. the type ahead buffer is limited to 255 characters, just like the maximum string length for canonical input processing (<linux/limits.h> or <posix1......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE