⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basedata.aspx.bak

📁 通过配置表中的各列支持绝大部分的基础数据
💻 BAK
字号:
<%@ Register TagPrefix="cc1" Namespace="E3S.Controls" Assembly="E3S.Controls" %>
<%@ Page language="c#" Codebehind="BaseData.aspx.cs" AutoEventWireup="false" Inherits="comm.BaseData" %>
<!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["edit_"+col].value = ret[1];
			   document.all["Hiblbl_"+col].value = ret[0];
			}
		}
		-->
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<table width="100%" valign=top>
				<!--<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" valign=top
								border="0">
								<TR bgColor="#e1f0fc">
									<TD align="left" background="images/bg1.gif" height="10"><B>操作</B>
									</TD>
								</TR>
								<TR bgColor="#e1f0fc">
									<TD align="right">
										<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_add" runat="server" ImageUrl="images/button/add_1.gif"></asp:ImageButton>
										<asp:ImageButton id="ibtn_save" runat="server" ImageUrl="images/save_.gif"></asp:ImageButton>
										<asp:ImageButton id="ibtn_del" runat="server" ImageUrl="images/button/del.gif"></asp:ImageButton>
										<asp:ImageButton id="ibtn_clr" runat="server" ImageUrl="images/button/clean_.gif"></asp:ImageButton>
										<asp:ImageButton id="ibtn_prt" runat="server" ImageUrl="images/button/print_.gif"></asp:ImageButton>
									</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>
										<TABLE class="maintext" align="right">
											<TR>
												<TD>
													<asp:ImageButton id="imgbtn_first" runat="server" ImageUrl="images/pagehome.gif"></asp:ImageButton></TD>
												<TD>
													<asp:ImageButton id="imgbtn_pre" runat="server" ImageUrl="images/pageup.gif"></asp:ImageButton></TD>
												<TD>
													<asp:ImageButton id="imgbtn_next" runat="server" ImageUrl="images/pagedown.gif"></asp:ImageButton></TD>
												<TD>
													<asp:ImageButton id="imgbtn_end" runat="server" ImageUrl="images/pageend.gif"></asp:ImageButton></TD>
												<TD width="200">第
													<asp:Label id="lbl_currpage" runat="server">1</asp:Label>页/共
													<asp:Label id="lbl_pagecnt" runat="server">1</asp:Label>页 转到
													<asp:TextBox id="txt_page" runat="server" Width="27px"></asp:TextBox>
													<asp:ImageButton id="imgbtn_go" runat="server" ImageUrl="images/go.gif"></asp:ImageButton></TD>
											</TR>
										</TABLE>
									</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: 300px">
											<asp:datagrid id="dg" runat="server" width="100%" cellspacing="1" AllowPaging="True" CellPadding="2"
												AllowSorting="True" BackColor="#486D95" Borderwidth="0px" AutoGenerateColumns="False" Font-Size="X-Small">
												<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:EditCommandColumn ButtonType="LinkButton" EditText="编辑" runat="server">
														<HeaderStyle Width="80pt"></HeaderStyle>
													</asp:EditCommandColumn>
												</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 + -