📄 basedata_dialogfkey.aspx
字号:
<%@ Register TagPrefix="cc1" Namespace="E3S.Controls" Assembly="E3S.Controls" %>
<%@ Page language="c#" Codebehind="BaseData_DialogFKey.aspx.cs" AutoEventWireup="false" Inherits="comm.BaseData_DialogFKey" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>BaseData</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/oa_css.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
function GetDialogRet(table,col,strUrl)//获得窗口返回值
{
var ret = window.showModalDialog(strUrl + "?Ran=" + Math.random()+"&tablename="+table+"&col="+col, "", "dialogHeight: 575px; dialogWidth: 720px; edge: Raised; center: Yes; help: No; resizable: No; status: No;");
if (ret != null)
{
document.all["lbl_"+col].value = ret[1];
document.all["edit_"+col].value = ret[0];
}
}
-->
</script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table width="100%">
<tr>
<td align="center"><asp:panel id="Panel_Title" runat="server" Width="100%">
<asp:Label id="lbl_tablename" runat="server" ForeColor="White" Font-Bold="True"></asp:Label>
</asp:panel></td>
</tr>
<tr>
<td align="center"><asp:panel id="Panel_Operate" runat="server" Width="100%">
<TABLE class="maintext" height="10" cellSpacing="1" cellPadding="2" width="95%" bgColor="#486d95"
border="0">
<TR bgColor="#e1f0fc">
<TD align="left" background="images/bg1.gif" height="10"><B>操作</B>
</TD>
</TR>
<TR bgColor="#e1f0fc">
<TD align="right"><FONT face="宋体">
<asp:Label id="hid_act" runat="server" Visible="False"></asp:Label>
<asp:ImageButton id="ibtn_qry" runat="server" ImageUrl="images/button/search_1.gif"></asp:ImageButton>
<asp:ImageButton id="ibtn_clr" runat="server" ImageUrl="images/button/clean_.gif"></asp:ImageButton></FONT></TD>
</TR>
</TABLE>
</asp:panel></td>
</tr>
<tr>
<td align="center"><asp:panel id="Panel_Edit" runat="server" Width="100%" Height="10px">
<TABLE class="maintext" height="10" cellSpacing="1" cellPadding="2" width="95%" bgColor="#486d95"
border="0">
<TR bgColor="#e1f0fc">
<TD align="left" background="images/bg1.gif" height="10"><B>编辑</B>
</TD>
</TR>
<TR bgColor="#e1f0fc">
<TD><FONT face="宋体">
<asp:Table class="maintext" id="ht" runat="server" width="95%" BorderlighColor="LightGray"
borWidth="768px" rules="cols" bgcolor="486D95" bordercolor="White" cellspacing="1" cellpadding="2"
border="0"></asp:Table></FONT></TD>
</TR>
</TABLE>
</asp:panel></td>
</tr>
<tr>
<td align="center"><asp:panel id="Panel_Page" runat="server" Width="100%" Height="10px">
<TABLE class="maintext" height="10" cellSpacing="1" cellPadding="2" width="95%" bgColor="#486d95"
border="0">
<TR bgColor="#e1f0fc">
<TD align="left" background="images/bg1.gif" height="10"><B>翻页</B>
</TD>
</TR>
<TR bgColor="#e1f0fc">
<TD><FONT face="宋体">
<cc1:AspNetPagerEx id="AspNetPagerEx1" runat="server" Font-Size="X-Small" FirstPageImage="images/pagehome.gif"
GoPageImage="images/go.gif" LastPageImage="Images/pageend.gif" NextPageImage="Images/pagedown.gif"
PrevPageImage="Images/pageup.gif" DataGridID="dg"></cc1:AspNetPagerEx></FONT></TD>
</TR>
</TABLE>
</asp:panel></td>
</tr>
<tr>
<td align="center"><asp:panel id="Panel_DG" runat="server" Width="100%">
<TABLE class="maintext" height="10" cellSpacing="1" cellPadding="2" width="95%" bgColor="#486d95"
border="0">
<TR bgColor="#e1f0fc">
<TD align="left" background="images/bg1.gif" height="10"><B>数据列表</B>
</TD>
</TR>
<TR bgColor="#e1f0fc">
<TD>
<DIV style="OVERFLOW: auto; WIDTH: 750px; HEIGHT: 500px">
<asp:datagrid id="dg" runat="server" width="100%" cellspacing="1" Font-Size="X-Small" Borderwidth="0px"
PageSize="200" AllowSorting="True" AutoGenerateColumns="False" CellPadding="2" BackColor="#486D95">
<SelectedItemStyle Font-Bold="True"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#E1F0FC"></AlternatingItemStyle>
<ItemStyle BackColor="#E1F0FC"></ItemStyle>
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" BackColor="#E1F0FC"></HeaderStyle>
<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
<Columns>
<asp:ButtonColumn Text="选择" CommandName="Select"></asp:ButtonColumn>
</Columns>
<PagerStyle Visible="False"></PagerStyle>
</asp:datagrid></DIV>
</TD>
</TR>
</TABLE>
</asp:panel></td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -