?? recordsmanmodule.ascx
字號:
<%@ Import Namespace="KhfwWeb"%>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="RecordsManModule.ascx.cs" Inherits="KhfwWeb.Modules.RecordsManModule" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<!--BEGIN RECORDSMAN MODULE-->
<TABLE cellSpacing="0" cellPadding="5" width="100%">
<TR class="rheader">
<TD class="rheadercol" align="left" colSpan="2" height="25">客戶記錄管理
</TD>
</TR> <!-- SPACER ROW -->
<TR class="rbody">
<TD class="rbodycol" align="left" width="40%" colSpan="2" height="25">按客戶名稱:<asp:textbox id="ClientNameTextBox" runat="server" Width="84px"></asp:textbox>
<asp:button id="search" runat="server" Text="查詢" BorderStyle="Groove"></asp:button></TD>
</TR>
<TR class="rbody">
<TD class="rbodycol" colSpan="2" height="25"><asp:datalist id="dl_RecordsList" runat="server" Width="100%" CellSpacing="3" ShowFooter="True"
ShowHeader="True" RepeatDirection="Vertical" DataKeyField="RecordId" BorderColor="#ccccff" CellPadding="3" BorderWidth="1">
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#ccccff"></HeaderStyle>
<HeaderTemplate>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD width="10%">
<DIV><B>序號</B></DIV>
</TD>
<TD width="10%">
<DIV><B>狀態</B></DIV>
</TD>
<TD width="40%">
<DIV><B>客戶名稱</B></DIV>
</TD>
<TD width="10%">
<DIV><B>級別</B></DIV>
</TD>
<TD width="20%">
<DIV><B>創建日期</B></DIV>
</TD>
<TD width="20%">
<DIV><B>修改</B></DIV>
</TD>
</TR>
</TABLE>
</HeaderTemplate>
<AlternatingItemStyle BackColor="#ccccff"></AlternatingItemStyle>
<ItemStyle BorderWidth="1"></ItemStyle>
<ItemTemplate>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD width="10%">
<%# DataBinder.Eval(Container, "DataItem.RecordId") %>
</TD>
<TD width="10%">
<asp:Label Runat="server" ID="StatusLabel"></asp:Label>
</TD>
<TD width="40%">
<%# DataBinder.Eval(Container, "DataItem.ClientName") %>
</TD>
<TD width="10%">
<asp:Label Runat="server" ID="LevelLabel"></asp:Label>
</TD>
<TD width="20%">
<%# DataBinder.Eval(Container, "DataItem.CreateDate") %>
</TD>
<TD width="20%">
<a href='<%# DataBinder.Eval(Container, "DataItem.RecordId",PageBase.UrlBase+"/RecordEdit.aspx?RecordId={0}") %>'>
修改</a>
</TD>
<TR>
<TD width="20%" colspan="2">
——問題描述——
</TD>
<TD width="30%">
<a href=<%=PageBase.UrlBase+"/RecordsMan.aspx"%> style="OVERFLOW: hidden; WIDTH: 250px; CLIP: rect(auto 80% auto 1%)"
onclick="javascript:newwin=window.open('RecordDetails.aspx?RecordId=<%# DataBinder.Eval(Container.DataItem,"RecordId")%>','newwin','x=500,y=800,height=410,width=400,status=yes,toolbar=no,menubar=no,scrollbars=yes,location=no,resizable=yes');newwin.focus();">
<%# DataBinder.Eval(Container.DataItem,"RDetails")%>
</a>
</TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:datalist></TD>
</TR>
<TR>
<td width="40%" height="25"><a id=RecordLink
href='<%=PageBase.UrlBase + "/RecordAdd.aspx"%>'
>添加新記錄</a>
</td>
<TD align="right"><asp:button id="ShowAll" runat="server" Text="全部顯示" BorderStyle="Groove"></asp:button></TD>
</TR>
</TABLE>
<!--END RECORDSMAN MODULE-->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -