<%@ Control Language="c#" AutoEventWireup="false" Codebehind="EmSystemConfig.ascx.cs" Inherits="WebStarCRM.Include.EmSystemConfig" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<TABLE width="100%" border="0" cellpadding="0" cellspacing="1">
	<TR>
		<TD colspan="2" class="WsdnOrgTitle1">参数设置
			<asp:imagebutton id="btHelp" runat="server" ImageUrl="../pic/help.png"></asp:imagebutton><FONT face="宋体">帮助</FONT></TD>
	</TR>
	<TR class="WsdnOrgInfo">
		<TD style="WIDTH: 171px"></TD>
		<TD align="right">
			<asp:Button id="ImBtAdd" runat="server" Text="添加记录"></asp:Button>&nbsp;
			<asp:button id="BtnDelete" runat="server" Text="停用"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;
			<asp:Label id="Msg" runat="server"></asp:Label></TD>
	</TR>
	<TR>
		<TD style="WIDTH: 171px" class="WsdnOrgTitle1">
			<asp:ListBox id="ListBox1" runat="server" Width="170px" Height="510px" AutoPostBack="True"></asp:ListBox></TD>
		<TD align="left" valign="top">
			<asp:datagrid id="DataGrid1" runat="server" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False">
				<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
				<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
				<FooterStyle HorizontalAlign="Right"></FooterStyle>
				<Columns>
					<asp:TemplateColumn HeaderText="内容">
						<ItemTemplate>
							<a href='EmConfigEdit.aspx?id=<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>&mode=edit&type=<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Ctype"))%>'
								<DIV ms_positioning="FlowLayout"><%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%></DIV>
							</a>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:BoundColumn DataField="Wsdn_StarCRM_Ctype" HeaderText="配置类型"></asp:BoundColumn>
					<asp:BoundColumn DataField="Wsdn_StarCRM_Num" HeaderText="数值表示"></asp:BoundColumn>
					<asp:BoundColumn DataField="Wsdn_StarCRM_info" HeaderText="其他信息"></asp:BoundColumn>
					<asp:TemplateColumn HeaderText="停用">
						<ItemTemplate>
							<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox>
							<asp:TextBox id=TextBox1 accessKey='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "DeleteFlag"))%>' runat="server" CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>' Width="0px">
							</asp:TextBox>
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
				<PagerStyle Mode="NumericPages"></PagerStyle>
			</asp:datagrid></TD>
	</TR>
</TABLE>
