<%@ Page Language="C#" Inherits="SiteServer.BackgroundPages.Modal.TableMatch" Trace="false"%>
<%@ Register TagPrefix="bairong" Namespace="BaiRong.Controls" Assembly="BaiRong.Controls" %>
<%@ Register TagPrefix="user" Namespace="UserCenter.Controls" Assembly="UserCenter.Pages" %>
<%@ Register TagPrefix="site" Namespace="SiteServer.Controls" Assembly="SiteServer.Controls" %>

<HTML>
	<HEAD>
		<!--#include file="../inc/html_head.inc"-->
<user:custom type="style" runat="server"></user:custom>
		<title id="MyTitle" runat="server"></title>
		
		
<meta http-equiv="content-type" content="text/html;charset=gb2312">
		<style>
			.ColumnsListBox
			{
				width:320px;
				height:220px;
				border: solid 1px #000000;
			}
			.ColumnsToMatchListBox
			{
				width:160px;
				height:220px;
				border: solid 1px #000000;
			}
		</style>
	</HEAD>
	<body>
		<form id="myForm" runat="server">
<bairong:Message runat="server"></bairong:Message>
		  <input type="hidden" id="TableMatchIDHidden" runat="server" />
		   <table cellpadding="0" width="100%" align="center">
			  <tr>
				<td colspan="3" align="center"><asp:Literal ID="Message" runat="server"></asp:Literal></td>
			  </tr>
			  <tr>
				<td width="200"><div style="float:left"><bairong:help HelpText="前台发布表的名称及字段" Text="前台发布表：" runat="server" ></bairong:help></div><div style="float:left"><asp:Literal ID="TableName" runat="server"></asp:Literal></div></td>
				<td width="50"></td>
				<td width="200"><div style="float:left"><bairong:help HelpText="发布到后台的内容表名称及字段" Text="后台匹配表：" runat="server" ></bairong:help></div><div style="float:left"><asp:Literal ID="TableNameToMatch" runat="server"></asp:Literal></div></td>
			  </tr>
			  <tr>
				<td align="right" valign="top">
					<asp:ListBox ID="Columns" runat="server" SelectionMode="Single" Rows="14" class="ColumnsListBox"></asp:ListBox>        </td>
				<td height="100%"><table height="100%" cols="1" cellpadding="0" width="100%">
					<tr>
					  <td align="center" valign="middle">
						<p><asp:Button class="button" id="Add" text=" <- " onclick="Add_OnClick" runat="server" /></p>
						<p><asp:Button class="button" id="Delete" text=" -> " onclick="Delete_OnClick" runat="server" /></p>
					  </td>
					</tr>
				</table></td>
				<td valign="top" >
					<asp:ListBox ID="ColumnsToMatch" runat="server" SelectionMode="Single" Rows="14" class="ColumnsToMatchListBox"></asp:ListBox>        </td>
			  </tr>
			</table>
		   <table cellpadding="0" width="100%" align="center">
			<tr>
				<td align="center">
					<asp:Button class="button" id="Cancel" text="关 闭" runat="server" />
				</td>
			</tr>
		   </table>
		</form>
	</body>
</HTML>
