commit
6377e9ef11
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
/// <summary>
|
||||
/// SqlDataAccess 的摘要说明
|
||||
/// </summary>
|
||||
public class SqlDataAccess
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Collections;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数据库的通用访问代码
|
||||
/// 此类为抽象类,不允许实例化,在应用时直接调用即可
|
||||
/// </summary>
|
||||
public abstract class SqlHelper
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
|
||||
|
||||
<!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>
|
||||
<title>WebForm1</title>
|
||||
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
|
||||
<meta name="CODE_LANGUAGE" Content="C#">
|
||||
<meta name="vs_defaultClientScript" content="JavaScript">
|
||||
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
|
||||
<script type="text/javascript" src="ajax_func.js"></script>
|
||||
<script>
|
||||
function changsheng(va)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
public partial class _Default : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
|
||||
|
||||
<!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 runat="server">
|
||||
<title>无标题页</title>
|
||||
<link rel="stylesheet" type="text/css" href="css/a.css" />
|
||||
<link href="css/div.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="js/jquery-1.2.1.pack.js"></script>
|
||||
<script type="text/javascript" src="js/xmlHttp.js"></script>
|
||||
<script type="text/javascript" src="js/all.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<input type = "hidden" id = "num" name = "num" runat="server" /><!--服务器给的总数-->
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
public partial class Default2 : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,8 @@
|
||||
// JScript 文件
|
||||
|
||||
function getalert()
|
||||
{
|
||||
var kaka=document.getElementById("Text1")
|
||||
alert(kaka.value);
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
html,div{
|
||||
font-family: "宋体";
|
||||
font-size:12px;
|
||||
line-height:150%;
|
||||
}
|
||||
#div_list
|
||||
{
|
||||
height: 25px;
|
||||
width: 980px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-top-style: dashed;
|
||||
border-bottom-style: dashed;
|
@ -0,0 +1,15 @@
|
||||
#bg {
|
||||
float: none;
|
||||
height: auto;
|
||||
width: 980px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
#bg #zs {
|
||||
float: none;
|
||||
width: 980px;
|
||||
margin-top: 3px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
border-top-width: 1px;
|
||||
border-left-width: 1px;
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
// JScript 文件
|
||||
var request;
|
||||
function createRequest() {
|
||||
try {
|
||||
request = new XMLHttpRequest();
|
||||
} catch (trymicrosoft) {
|
||||
try {
|
||||
request = new ActiveXObject("Msxml2.XMLHTTP");
|
||||
} catch (othermicrosoft) {
|
||||
try {
|
||||
request = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
} catch (failed) {
|
||||
request = false;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue