<%@ Page CodeBehind="DTable_App.DTable_Test.ae017.aspx.cs" Language="c#" AutoEventWireup="false" Inherits=" DTable_App.DTable_Test.ae017" validateRequest="false" %>
<%@ Register TagPrefix="cc1" Namespace="dtable" Assembly="dtable" %>
<%@ Register TagPrefix="cc2" Namespace="dmenu" Assembly="dmenu" %>
<HTML>
	<HEAD>
		<TITLE>Dtable在记录添加/更新时的应用—使用模式对话框进行新增/更新操作</TITLE>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
		<link rel="stylesheet" type="text/css" href="style.css">
	</HEAD>
	<BODY BGCOLOR="#ffffff" LEFTMARGIN="0" TOPMARGIN="0">
		<table width="100%" border="0" cellpadding="5">
			<tr>
				<td height="23">
					<cc1:dTable id="DTable1" runat="server"></cc1:dTable></td>
			</tr>
			<tr>
				<td height="23" bgcolor="#abc7e2"><strong>本页属性设置</strong></td>
			</tr>
			<tr>
				<td height="26" bgcolor="#e7eef8"><P>DTable1.ConnStr=sharecode.DataconnectString; 
						//数据库连接字符串<BR>
						DTable1.TableName ="雇员"; //表名<BR>
						DTable1.List_SQL="select 雇员ID,姓氏,名字,职务,尊称,上级 from 雇员 order by 雇员ID desc"; 
						//list 查询语句<BR>
						DTable1.Edit_EnableAdd =true; //允许新增<BR>
						DTable1.Edit_EnableEdt =true; //允许更新<BR>
						DTable1.Edit_OpenNewWindow="500px|225px|no"; //设置新增/更新界面在模式对话框中进行(新开窗口)<BR>
						DTable1.ShowBtn_All =true; //允许显示所有的按钮<BR>
						DTable1.Edit_FieldList="雇员id,姓氏,名字,职务,尊称,城市,邮政编码,国家,家庭电话,上级";//设置新增/更新时允许的字段<BR>
						DTable1.Edit_FieldFormat ="12||dbselectvalue|select 雇员id,姓氏 + 名字 as 姓名 from 雇员 
						order by 雇员id desc||||"; //定义新增/更新状态的格式<BR>
						DTable1.Edit_Sty_Table =true; //新增/更新界面双列显示
					</P>
				</td>
			</tr>
		</table>
	</BODY>
</HTML>
