首先用代码
<a href="editNews.asp?id=<%=rswm("id")%>">编辑</a>
这样就把id传到editNews.asp页面
然后在editNews.asp页面用newsid=request("id")
接受到这个值
在学习.net时页面传值用了好长时间才明白
现在学习ASP方便了很多。
asp页面传参<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
asp页面传参
<!--#include file="Config/WebConfig.asp"-->
asp页面传参
<html xmlns="http://www.w3.org/1999/xhtml">
asp页面传参
<head>
asp页面传参
<title>asp版新闻发布</title>
asp页面传参
</head>
asp页面传参
<body>    
asp页面传参
asp页面传参


相关文章: