我的ASP数据库传递缺少,请哪位大侠帮忙解决一下
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../conn.asp" -->
<%
dim sqlstr,editid
editid=trim(request.QueryString("id"))
if editid=empty then
response.write("<script language='javascript'>")
response.write("alert('活动编号不能为空!请返回修改!');")
response.Write("history.back();")
response.write("</script>")
response.End()
end if
sqlstr="select * from activity"
set rs=server.CreateObject("ADODB.Recordset")
'set rs=conn.execute(sqlstr)
rs.open sqlstr,conn
if rs.eof and rs.bof then
response.write("<script language='javascript'>")
response.write("alert('活动编号不存在!请返回修改!');")
response.Write("history.back();")
response.write("</script>")
response.End()
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>网站后台管理-活动修改</title>
<link href="../vfcss/master.css" rel="stylesheet" type="text/css" /><
相关问答:
<?xml version="1.0"?>
<root>
<status>433</status>
<msg>这个是汉字</msg>
<serialno>123</serialno>
</root>
如何用ASP读取 status值 ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
3个radioButton
一个Button
一个label
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......
如何用js获得 asp 写入的session
session("user_id") = "cqsj1987"
怎么样用js 这个session 值?
JScript code:
var uid="<%=session("user_id")%>"
<%
s ......
我用的是Godaddy的服务,使用
C# code:
HttpRuntime.UnloadAppDomain();
来重启程序会抛出异常,应该是权限不够,请教大家还有没有其他的办法?
using System.ServiceProcess;
public void ResetAsp ......