<html><head><title>Javascript</title><script Language="JavaScript"> var msg="欢迎您光临,保定大学生网……"; var interval = 100; var spacelen = 120; var space10=" "; var seq=0; function Scroll() { len = msg.length; window.status = msg.substring(0, seq+1); seq++; if ( seq >= len ) { seq = spacelen; ...
<html><head><script language=javascript> function gbcount(message,total,used,remain) { var max; max = total.value; if (message.value.length > max) { message.value = message.value.substring(0,max)...
一、先来看一个简单的例子: 下面以三个页面分别命名为frame.html、top.html、bottom.html为例来具体说明如何做。 frame.html 由上(top.html)下(bottom.html)两个页面组成,代码如下:
复制代码 代码如下:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> frame </TITLE> </HEAD> <frameset rows="50%,50%"> <frame name=top src="top.html"> ...
set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER PROC [dbo].[P_LoginLyh]@UserName varchar(500)='', @Pwd varchar(500)=''asselect isnull(姓名,'') as 姓名 ,isnull(角色,'') as 角色,[id] from T_User where 用户名=@UserName and 密码=@Pwd
set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER PROC [dbo].[P_Loginydp]@UserName varchar(500),@Psd varchar(500),@PersonName varchar(50) OUTPUT,@PersonRole varchar(50) OUTPUT ,@ID int OUTPUTasselect @PersonName=姓名,@PersonRole=角色,@ID=id from T_User where 用户名=@UserName and 密码=@Psd
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><TITLE>河北登陆管理</TITLE><META content="text/html; charset=gb2312" http-equiv=Content-Type><LINK rel=stylesheet href="河北_files/site.css"><SCRIPT language=JavaScript><!--if (self != top) top.location.href = window.location.href/...
USE [student]GO/****** 对象: StoredProcedure [dbo].[st_jsjbj] 脚本日期: 06/22/2010 21:06:07 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOCREATE PROC [dbo].[st_jsjbj]ASSELECT 班级名称 FROM 班级 WHERE 系部代码 = (SELECT 系部代码 FROM 系部WHERE 系部名称='计算机系')
USE [Students]GO/****** 对象: Trigger [del_stu1] 脚本日期: 06/22/2010 20:36:33 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOcreate trigger [del_stu1] on [dbo].[学生表]for delete asdeclare @xuehao intselect @xuehao=学号 from Deletedif exists(select *from 课程注册表 where 学号=@xuehao) beginprint '不能将其删除...
JDBC驱动汇总关键字 JDBC 有鉴于许多版友对于寻找JDBC driver或者如何使用driver常常发问,在这边我简单整理一下比较代表性的driver跟使用方式.Microsoft SQL Server series (6.5, 7.x, 2000 and 2005) and Sybase 10JDBC Name: jTDSURL: http://jtds.sourceforge.net/Version: 0.5.1Download URL: http://sourceforge.net/project/showfiles.php?group_id=33291语法:Class....