求助!ASP代码问题 - Web 开发 / ASP
<!--#include file=conn.asp-->
<body bgcolor="LightYellow">
<p>
<%if request("add2")="添加" then
name=trim(request("name"))
pwd=trim(request("pwd"))
tel=trim(request("tel"))
if name="" then
response.write"<script>alert('用户账号不能为空!');history.back();</script>"
elseif pwd="" then
response.write"<script>alert('密码不能为空!');history.back();</script>"
elseif tel="" then
response.write"<script>alert('电话号码不能为空!');history.back();</script>"
else
rs.open"select*from admin where name='"&name&"'",conn,1,3
if not rs.eof then
response.write"<script>alert('用户账号已经存在!');history.back();</script>"
else
rs.addnew
rs("name")=name
rs("pwd")=pwd
rs("tel")=tel
rs("type")="1"
rs.update
response.write"<script>alert('新用户注册成功!');</script>"
response.Redirect "login.asp"
end if
rs.close
end if
end if%>
</p>
<form method="post" action="">
<table width="260" height="
相关问答:
asp虚拟主机实现伪静态的方法:
1、 重写url参数
Step1: 建立前台文件index.asp,修改url参数形式。由于读取数据库中的记录不是专题的重点,故直接给出:
<!--#include file="config.asp" -->
&l ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
就是一个按钮,点击之后打开对话框,然后选取图片。就这样上传。。
怎么实现。在网上搜到那么多的代码,全是很多的那种,不知道,看不下去。
所以在这里想请大哥大姐帮帮忙。
使用自带的fileupload控件可以实现 ......
C# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Runtime.InteropServices;
nam ......
大家好,我现在有一个用asp写的聊天室,现在的想添加一个功能,就是当有人上线的时候,发出提示,比如声音响一下,现在想用java实现这个功能,请问大家怎么实现?
谢谢了,我会加分的
asp和java整合到一起去?何必 ......