<%@ Page language="c#" Codebehind="ChartCADD.aspx.cs" AutoEventWireup="false" Inherits="StarSuitWSYW.Include.ChartCADD" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>MDgroup</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">
	</HEAD>
	<body topMargin="2" MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE width="100%">

				<TR class="WsdnOrgtitle1">
					<TD></TD>
					<TD>
						<asp:Label ID="Label2" runat="server" Text="添加项目↓"></asp:Label>
						<asp:datagrid id="DGValidate" runat="server" Width="615px" ForeColor="Red" DESIGNTIMEDRAGDROP="925"
							AutoGenerateColumns="False" Height="68px" Visible="False">
							<Columns>
								<asp:BoundColumn DataField="MainCaption" HeaderText="项目"></asp:BoundColumn>
								<asp:BoundColumn DataField="Value" HeaderText="项目值"></asp:BoundColumn>
								<asp:BoundColumn DataField="ValidateMessage" HeaderText="描述"></asp:BoundColumn>
							</Columns>
						</asp:datagrid></TD>
				</TR>
				<TR class="WsdnOrginfo">
					<TD><asp:Label ID="Label3" runat="server" Text="菜单项名："></asp:Label></TD>
					<TD><asp:textbox id="name" runat="server" Width="260px"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrginfo">
					<TD><asp:Label ID="Label4" runat="server" Text="排序值："></asp:Label></TD>
					<TD><asp:textbox id="odr" runat="server" Width="260px">0</asp:textbox>&nbsp; 
						<asp:Label
                            ID="Label5" runat="server" Text="按大小排列，数字越小约靠前"></asp:Label>
						<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="odr" ErrorMessage="不能为空"></asp:requiredfieldvalidator>
						<asp:rangevalidator id="RangeValidator1" runat="server" ControlToValidate="odr" ErrorMessage="注意：限制范围在0-9999"
							Display="Dynamic" MinimumValue="0" MaximumValue="999"></asp:rangevalidator></TD>
				</TR>
				<TR class="WsdnOrginfo">
					<TD><asp:Label ID="Label6" runat="server" Text="数据表名："></asp:Label></TD>
					<TD><asp:DropDownList ID="tname" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="ddlTable_SelectedIndexChanged" ></asp:DropDownList>&nbsp;</TD>
				</TR>
				<TR class="WsdnOrginfo">
					<TD><asp:Label ID="Label7" runat="server" Text="标签指标："></asp:Label></TD>
					<TD>
						<asp:DropDownList ID="flabel" runat="server"></asp:DropDownList>&nbsp;</P>
					</TD>
				</TR>
				<TR class="WsdnOrginfo">
					<TD><asp:Label ID="Label8" runat="server" Text="统计指标："></asp:Label></TD>
					<TD>
						<asp:DropDownList ID="fvalue" runat="server"></asp:DropDownList>&nbsp;</P>
					</TD>
				</TR>
				<TR class="WsdnOrginfo">
					<TD style="HEIGHT: 12px"><asp:Label ID="Label9" runat="server" Text="所属分组："></asp:Label></TD>
					<TD style="HEIGHT: 12px"><asp:dropdownlist id="DropDownList1" runat="server"></asp:dropdownlist>
					<asp:checkbox id="CheckBox1" Visible=false runat="server" Text="是否根一级节点" ToolTip="是否根一级节点" AutoPostBack="True"></asp:checkbox></TD>
				</TR>
				<TR class="WsdnOrginfo">
					<TD><asp:Label ID="Label10" runat="server" Text="数据表格式："></asp:Label></TD>
					<TD>
						<asp:DropDownList id="ula" runat="server">
							<asp:ListItem Value="合计">合计(Sum)</asp:ListItem>
							<asp:ListItem Value="行数">行数(Count)</asp:ListItem>
						</asp:DropDownList>
						<asp:Label id="Label1" runat="server">
                            <asp:Label ID="Label11" runat="server" Text="注意：合计是统计记录数值的总和，行数是统计记录的行数"></asp:Label>
                            </asp:Label></TD>
				</TR>
				<TR class="WsdnOrginfo">
					<TD></TD>
					<TD><asp:button class="buttons"  id="Button1" runat="server" Text="添加" Width="104px"></asp:button>
						<asp:Button class="buttons" id="Button2" runat="server" Width="64px" Text="返回"></asp:Button>&nbsp;
						<asp:HyperLink id="HyperLink1" runat="server" Target="_blank" Visible=false NavigateUrl="MDitem.aspx">察看表名称及字段代码</asp:HyperLink></TD>
				</TR>
								<TR class="WsdnOrgtitle1">
					<TD></TD>
					<TD>
						<asp:label id="Msg" runat="server" ForeColor="Red"></asp:label></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
