webkhgl.aspx
来自「龍族 伺服器 管理 系統 管理網路遊戲(龍族)的asp網頁」· ASPX 代码 · 共 187 行
ASPX
187 行
<%@ Register TagPrefix="cc1" Namespace="Haiwc" Assembly="Haiwc" %>
<%@ Page language="c#" Codebehind="WebKHGL.aspx.cs" AutoEventWireup="false" Inherits="playmu.muAdmin.WebKHGL" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebUserViewCK</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="css/Edit.css" type="text/css" rel="stylesheet">
<LINK href="css/PageView.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="FlowLayout">
<form id="Form2" method="post" runat="server">
<table id="Table4" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0"
cellPadding="0" width="100%" border="0">
<tr>
<td width="210">
<table id="Table5" borderColor="#111111" height="20" cellSpacing="0" cellPadding="0" border="0">
<tr>
<td class="itemge" width="5"></td>
<td class="itemNo" id="Tab_1" onmouseover="Bover(this,1);" onclick="location.href ='WebKHSC.aspx'"
onmouseout="Bout(this,1);" align="center" width="65">卡号生成</td>
<td class="itemge" width="5"></td>
<td class="itemYes" id="Tab_2" onmouseover="Bover(this,2);" onmouseout="Bout(this,2);"
align="center" width="65">卡号查询</td>
<td class="itemge" width="5"></td>
<td class="itemNo" id="Tab_3" onmouseover="Bover(this,3);" onmouseout="Bout(this,3);"
onclick="location.href ='WebkHTJ.aspx'" align="center" width="65">卡号统计</td>
</tr>
</table>
</td>
<td class="itemge">
</td>
</tr>
</table>
<table class="itembao" id="Table6" borderColor="#111111" cellSpacing="0" cellPadding="0"
width="100%" border="0">
<tr>
<td vAlign="top" align="left" width="100%" rowSpan="1"><asp:panel id="Panel2" runat="server" HorizontalAlign="Left"><FONT face="宋体">
<TABLE id="tt2" height="136" cellSpacing="2" cellPadding="2" width="468" border="0">
<TR>
<TD align="center" width="114" height="24">
<asp:CheckBox id="C_KH" runat="server" Text="充值卡号"></asp:CheckBox></TD>
<TD align="left" width="289" height="24"><FONT face="宋体">
<asp:TextBox id="T_KH1" runat="server" Width="88px"></asp:TextBox>至
<asp:TextBox id="T_KH2" runat="server" Width="88px"></asp:TextBox></FONT></TD>
</TR>
<TR>
<TD align="center" width="114" height="24"><FONT face="宋体">
<asp:CheckBox id="C_LX" runat="server" Text="充值类型"></asp:CheckBox></FONT></TD>
<TD align="left" width="289" height="24">
<cc1:DropDownListBox id="D_KHLX" runat="server"></cc1:DropDownListBox></TD>
</TR>
<TR>
<TD align="center" width="114" height="24">
<asp:CheckBox id="C_SY" runat="server" Text="是否使用"></asp:CheckBox></TD>
<TD align="left" width="289" height="24">
<cc1:DropDownListBox id="D_SY" runat="server">
<asp:ListItem Value="1">使用中</asp:ListItem>
<asp:ListItem Value="0">未使用</asp:ListItem>
<asp:ListItem Value="3">查 封</asp:ListItem>
</cc1:DropDownListBox></TD>
</TR>
<TR>
<TD align="center" width="114" height="24">
<asp:CheckBox id="C_YH" runat="server" Text="使用用户"></asp:CheckBox></TD>
<TD align="left" width="289" height="24">
<asp:TextBox id="T_YH" runat="server" Width="152px" MaxLength="10"></asp:TextBox></TD>
</TR>
<TR>
<TD style="HEIGHT: 28px" align="center" width="114" height="28"><FONT face="宋体">
<asp:CheckBox id="C_SJ" runat="server" Text="生成日期"></asp:CheckBox></FONT></TD>
<TD style="HEIGHT: 28px" align="left" width="289" height="28"><FONT face="宋体">
<TABLE id="Tabl1" cellSpacing="0" cellPadding="0" border="0">
<TR>
<TD>
<cc1:DateSelectBox id="T_SJ1" runat="server" ImgPath="images/sys_bu1.gif" ScButtonHtcPath="htc/scButton.htc"
SelectDate="01/01/2000 21:48:00"></cc1:DateSelectBox></TD>
<TD><FONT face="宋体"> 至 </FONT>
</TD>
<TD>
<cc1:DateSelectBox id="T_SJ2" runat="server" ImgPath="images/sys_bu1.gif" ScButtonHtcPath="htc/scButton.htc"
SelectDate="01/01/2000 21:48:00"></cc1:DateSelectBox></TD>
</TR>
</TABLE>
</FONT>
</TD>
</TR>
<TR>
<TD align="center" width="403" colSpan="2" height="24"><FONT face="宋体">
<asp:Button id="Button1" runat="server" Text="搜 索" Width="132px"></asp:Button></FONT></TD>
</TR>
</TABLE>
<BR>
结果如下:<BR>
</FONT>
<HR>
<BR>
<asp:DataGrid id="DataGrid1" runat="server" Width="98%" DataKeyField="ID" BorderColor="#999999"
BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3" AutoGenerateColumns="False"
PageSize="16" AllowPaging="True" GridLines="Vertical">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#008A8C"></SelectedItemStyle>
<AlternatingItemStyle BackColor="Gainsboro"></AlternatingItemStyle>
<ItemStyle ForeColor="Black" BackColor="#EEEEEE"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#000084"></HeaderStyle>
<FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle>
<Columns>
<asp:TemplateColumn>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemTemplate>
<asp:CheckBox id="CheckBox1" runat="server"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="CardNumber" HeaderText="卡号"></asp:BoundColumn>
<asp:BoundColumn DataField="CardPassWord" HeaderText="密码"></asp:BoundColumn>
<asp:BoundColumn DataField="title" HeaderText="类 型"></asp:BoundColumn>
<asp:BoundColumn DataField="Money" HeaderText="面值" DataFormatString="{0} 元"></asp:BoundColumn>
<asp:BoundColumn DataField="CardUnit" HeaderText="点数" DataFormatString="{0}点或月"></asp:BoundColumn>
<asp:BoundColumn DataField="UseUserName" HeaderText="用 户"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="使用时间">
<ItemTemplate>
<asp:Label id=Label1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.UseDateTime","{0:D}") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="使用标志">
<ItemTemplate>
<asp:Label id=Label3 runat="server" Text='<%# ZH(DataBinder.Eval(Container, "DataItem.IsUsed")) %>'>
</asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id=TextBox3 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.IsUsed") %>'>
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="出卡时间">
<ItemTemplate>
<asp:Label id=Label2 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Datetime","{0:D}") %>'>
</asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id=TextBox2 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Datetime") %>'>
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#999999" Mode="NumericPages"></PagerStyle>
</asp:DataGrid>
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD height="30"><INPUT style="WIDTH: 70px" onclick="Check()" type="button" value="反 选">
<asp:button id="Button2" runat="server" Text="删除" Width="70px"></asp:button> </TD>
</TR>
<TR>
<TD height="23"><FONT face="宋体"> <STRONG><FONT color="#ff0000"> <FONT size="3">注意:</FONT></FONT></STRONG>点中删除后选中的项将被删除。</FONT></TD>
</TR>
</TABLE>
</asp:panel></td>
</tr>
</table>
<script language="JavaScript">
<!--
function Check()
{
var obj = document.getElementsByTagName("input");
var str = "";
for(var i=0;i<obj.length;i++)
{
if(obj[i].type == "checkbox" && obj[i].name != "C_SJ" && obj[i].name != "C_KH" && obj[i].name != "C_LX" && obj[i].name != "C_SY" && obj[i].name != "C_YH" && obj[i].name != "C_YH")
{
obj[i].checked = !obj[i].checked;
}
}
}
//-->
</script>
<script src="script/PageView.js"></script>
</form>
<script language="javascript" src="Script/Edit.js"></script>
</body>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?