All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
ASP.NET,2.0,中使用自定义缓存依赖_[Asp.Net教程]
VBScript教程,第四课,VBScript变量_JavaScript技术_编程技术
asp-php-js中的split使用方法详解_php资料_编程技术
IsPostBack深入探讨_[Asp.Net教程]
PHP教程:学习掌握动态网页PHP的编程语句_[PHP教程]
javascript方法和技巧大全_JavaScript技术_编程技术
解决SqlTransaction用尽的问题(SQL处理超时)_[SQL,Server教程]
Redirect从新窗口打开_[Asp.Net教程]
ASP.NET中url传递中文的解决方案_[Asp.Net教程]
PHP利用cookie做的投票程序_[PHP教程]
Reading number is top 10 pictures
Discharge accidentally Actresses by the breast4
A man's favorite things7
大人物的礼物
Sora aoi mirror memorial classics4
福利福利。。。。。。
The money of more than 100 countries and regions11
中国女孩大胆自拍,显露完美身材
王艳写真温柔如水2
A man's favorite things1
HongMenYan premiere XinLiangGong clairvoyant outfit PK YiFeiLiu1
Download software ranking
SP4 for SQL2000
Sora aoi, the maid, students' uniforms
网页特效实例大全
C++教程第四版
Twenty piece of palm leaf
Tram sex maniac 2 (H) rar bag2
Such love down(擒爱记)
电车之狼R
Unix video tutorial10
徐若瑄成名作“魔鬼天使”
delv published in(发表于) 2014/1/16 9:27:39 Edit(编辑)
ASP.NET,2.0中随机读取Access数据库记录_[Asp.Net教程]

ASP.NET,2.0中随机读取Access数据库记录_[Asp.Net教程]

ASP.NET 2.0中随机读取Access数据库记录_[Asp.Net教程]























由于使用ADO访问Access数据库会有缓存,这在随机提取数据库数据时,例如:sql="select top 10 Title,objectGuid from Document Order By Rnd(id)",将得不到随机记录,下面的例子可以克服这一缺陷,实现数据库的随机读取。




C#:




<%@ Page Language="C#" %>












随机读取Access数据库记录








DataNavigateUrlFormatString="http://dotnet.aspx.cc/article/{0}/read.aspx" />










VB.NET:




<%@ Page Language="VB" Debug="true" %>












随机读取Access数据库记录








DataNavigateUrlFormatString="http://dotnet.aspx.cc/article/{0}/read.aspx" />










来源:孟宪会之精彩世界


















































添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.