ASP连接MYSQL数据库
来源:互联网 发布:淘宝的认证照片怎么拍 编辑:程序博客网 时间:2024/06/06 00:05
<script type="text/javascript"><!--google_ad_client = "pub-4490194096475053";/* 内容页,300x250,第一屏 */google_ad_slot = "3685991503";google_ad_width = 300;google_ad_height = 250;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<IFRAME name=google_ads_frame marginWidth=0 marginHeight=0 src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-4490194096475053&dt=1228361390484&lmt=1226285649&prev_slotnames=1891601125&output=html&slotname=3685991503&correlator=1228361390453&url=http%3A%2F%2Fwww.corange.cn%2Farchives%2F2008%2F09%2F1766.html&ea=0&ref=http%3A%2F%2Fwww.corange.cn%2Fhtml%2Fcorange__94.html&frm=0&ga_vid=368793713.1228304108&ga_sid=1228359086&ga_hid=301695660&ga_fc=true&flash=9.0.124.0&u_h=768&u_w=1024&u_ah=715&u_aw=1024&u_cd=32&u_tz=480&u_java=true&dtd=31" frameBorder=0 width=300 scrolling=no height=250 allowTransparency></IFRAME>
<% strconnection="driver={mysql odbc 3.51 driver};database=weste_net;server=localhost;uid=root;password="
set conn = server.createobject("adodb.connection")
conn.open strconnection
strquery = "select * from News"
set rs = conn.execute(strquery)
if not rs.bof then
%>
<table>
<tr>
<td<b>序列号</b></td>
<td><b>标题</b></td>
</tr>
<%
do while not rs.eof
%>
<tr>
<td><%=rs("id")%></td>
<td><%=rs("NTitle")%></td>
</tr>
<%
rs.movenext
loop
%>
</table>
<%
else
response.write("无暂时没有.")
end if
rs.close
conn.close
set conn = nothing
set rsdata = nothing
%>
- ASP连接MYSQL数据库
- ASP连接MySQL数据库
- ASP.NET连接mysql 数据库
- asp.net 连接 MySQL数据库
- ASP.NET 连接MySql数据库
- ASP.NET 连接MySql 数据库
- ASP.NET 连接mysql数据库
- ASP.NET 连接MySql 数据库
- 如何在ASP中连接MySQL 数据库
- ASP连接数据库(ACCESS,MSSQLSERVER,MYSQL)
- asp.net连接mysql数据库小例
- ASP.NET连接mysql 数据库实例
- ASP连接MySQL数据库的方法
- asp.net2.0连接mysql数据库
- ASP连接MySQL数据库的方法
- ASP.NET连接mysql 数据库实例
- asp.net web项目连接mysql数据库
- ASP.net连接Mysql数据库详解
- C#,CallBack实现进度条演示
- 关于cidaemon.exe进程CUP占用率高的解决
- ABAP-创建自定义事件触发的后台任务的样例
- 右下角弹出信息,可以设置为自动关闭
- C#创建COM供PB调用
- ASP连接MYSQL数据库
- 页面编码问题总结
- acess “不正常地定义参数对象,提供了不一致或不完整的信息”的解决方法
- CONST 指针
- Zend Studio 无法启动的问题解决
- php中的unix时间戳问题
- RedHat虚拟机:Vmware Tools的安装(转)
- MSDN杂志:ASP.NET AJAX 4.0数据驱动的 Web 应用程序的新 AJAX 支持
- 自己动手做按钮 [转]