122 lines
3.8 KiB
Plaintext
122 lines
3.8 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TiKuList.aspx.cs" Inherits="DocFile_TiKuList" %>
|
|
<html>
|
|
<head>
|
|
<title><%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>
|
|
<LINK href="../Style/Style.css" type="text/css" rel="STYLESHEET">
|
|
</head>
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
var a;
|
|
function CheckValuePiece(){
|
|
if(window.document.form1.GoPage.value == "")
|
|
{
|
|
alert("请输入跳转的页码!");
|
|
window.document.form1.GoPage.focus();
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
function CheckAll(){
|
|
if(a==1)
|
|
{
|
|
for(var i=0;i<window.document.forms['form1'].elements.length;i++)
|
|
{
|
|
var e = form1.elements[i];
|
|
e.checked =false;
|
|
}
|
|
a=0;
|
|
}
|
|
else
|
|
{
|
|
for(var i=0;i<window.document.forms['form1'].elements.length;i++)
|
|
{
|
|
var e = form1.elements[i];
|
|
e.checked =true;
|
|
}
|
|
a=1;
|
|
}
|
|
}
|
|
function CheckDel(){
|
|
var number=0;
|
|
for(var i=0;i<window.document.forms['form1'].elements.length;i++)
|
|
{
|
|
var e = form1.elements[i];
|
|
if (e.Name != "CheckBoxAll")
|
|
{
|
|
if(e.checked==true)
|
|
{
|
|
number=number+1;
|
|
}
|
|
}
|
|
}
|
|
if(number==0)
|
|
{
|
|
alert("请选择需要删除的项!");
|
|
return false;
|
|
}
|
|
if (window.confirm("你确认删除吗?"))
|
|
{
|
|
return true;
|
|
}
|
|
else
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
|
|
function CheckModify(){
|
|
var Modifynumber=0;
|
|
for(var i=0;i<window.document.forms['form1'].elements.length;i++)
|
|
{
|
|
var e = form1.elements[i];
|
|
if (e.Name != "CheckBoxAll")
|
|
{
|
|
if(e.checked==true)
|
|
{
|
|
Modifynumber=Modifynumber+1;
|
|
}
|
|
}
|
|
}
|
|
if(Modifynumber==0)
|
|
{
|
|
alert("请至少选择一项!");
|
|
return false;
|
|
}
|
|
if(Modifynumber>1)
|
|
{
|
|
alert("只允许选择一项!");
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
|
|
|
|
</SCRIPT>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<div>
|
|
<table style="width: 100%; height:100%" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px; "> <img src="../images/BanKuaiJianTou.gif" />
|
|
桌面 >> 题库管理
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="background-color:gainsboro; vertical-align:top; padding-top:10px;">
|
|
<asp:TreeView ID="ListTreeView" runat="server" ExpandDepth="0" ForeColor="Black"
|
|
ShowLines="True">
|
|
<ParentNodeStyle HorizontalPadding="2px" />
|
|
<RootNodeStyle HorizontalPadding="2px" />
|
|
<LeafNodeStyle HorizontalPadding="2px" />
|
|
</asp:TreeView>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|