<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
<%@ Import Namespace="System.Data" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style>
.table {
border: 1px double #A3D1AD;
margin-top: 5px;
margin-bottom: 5px;
background: #FFFFFF;
font-size: 12px;
}
/*选中时式样*/
.TR_BG {
background-color: #E4FCCB;
font-size: 12px;
}
/*非选中时式样*/
.TR_BG_list {
background-color: #F4FFE8;
font-size: 12px;
}
.sys_topBg {
color: #47974B;
font-size: 14px;
text-decoration: none;
font-weight: bold;
}
</style>
<script>
function SelectAll(f, mode)
{
if (mode == true)
{
for (i = 0; i < f.length; i++)
{
if (f.elements[i].type == "checkbox")
{
f.elements[i].checked = true;
}
}
}
else
{
for (i = 0; i < f.length; i++)
{
if (f.elements[i].type == "checkbox")
{
f.elements[i].checked = false;
}
}
}
}
//CSS背景控制
function overColor(Obj)
{
var elements = Obj.childNodes;
&nbs