<%@ Page language="c#" Codebehind="ReportC.aspx.cs" AutoEventWireup="false" Inherits="StarSuitWSYW.Include.ReportC" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></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="WsdnOrgInfo1">
					<TD>
						
							<asp:Label id="Label40" runat="server" Font-Bold="True">SQL报表设置</asp:Label>
					</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD>
					
						<br>
							<asp:button class="buttons"  id="Button2" runat="server" Width="160px" Text="添加"></asp:button>
							        <asp:Button class="buttons" ID="btnBackAdmin" runat="server" onclick="btnBackAdmin_Click" 
                            Text="返回管理中心" />
							<br><P>
							<asp:datagrid id="DataGrid1" runat="server" DataKeyField="id" AutoGenerateColumns="False" AllowPaging="True"
								Width="100%" ForeColor="#333333" CellPadding="4" >
<%--        <AlternatingItemStyle CssClass="WsdnOrgInfo" ForeColor="#000000" />--%>
        <FooterStyle CssClass="WsdnOrgInfo1" ForeColor="White" Font-Bold="True" />
        <PagerStyle CssClass="WsdnOrgInfo1" ForeColor="#333333" HorizontalAlign="Center" />
        <SelectedItemStyle CssClass="WsdnOrgInfo1" Font-Bold="True" ForeColor="Navy" />
        <HeaderStyle CssClass="WsdnOrgTitle" Font-Bold="True" HorizontalAlign="Left" />
								<Columns>
									<asp:HyperLinkColumn Text="编辑" DataNavigateUrlField="id" DataNavigateUrlFormatString="ReportCEdit.aspx?id={0}"
										HeaderText="编辑"></asp:HyperLinkColumn>
									<asp:BoundColumn DataField="id" HeaderText="ID">
										<HeaderStyle Width="15px"></HeaderStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="name" HeaderText="菜单项名">
									</asp:BoundColumn>
									<asp:BoundColumn DataField="odr" HeaderText="排序值"></asp:BoundColumn>
									<asp:BoundColumn DataField="fid" Visible=false HeaderText="所属分组ID">
									</asp:BoundColumn>
									<asp:BoundColumn DataField="info" HeaderText="执行脚本">
										<HeaderStyle Width="30%"></HeaderStyle>
									</asp:BoundColumn>
									<asp:BoundColumn Visible=false DataField="serachLabel" HeaderText="查询描述"></asp:BoundColumn>
									<asp:BoundColumn Visible=false DataField="serachCol" HeaderText="查询字段"></asp:BoundColumn>
									<asp:BoundColumn Visible=false DataField="havingCol" HeaderText="分组查询字段"></asp:BoundColumn>
									<asp:BoundColumn Visible=false DataField="orderCol" HeaderText="排序"></asp:BoundColumn>
									<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
								</Columns>
<%--								<PagerStyle CssClass="WsdnOrgtitle1" Mode="NumericPages"></PagerStyle>
--%>							</asp:datagrid>
						<br><asp:button class="buttons"  id="Button1" runat="server" Width="160px" Text="添加"></asp:button>
												<asp:Button class="buttons" ID="Button3" runat="server" onclick="btnBackAdmin_Click" 
                            Text="返回控制面板" />
						        <asp:label id="Msg" runat="server" ForeColor="Red"></asp:label>
							<asp:HyperLink id="HyperLink1" runat="server" Visible=false Target="_blank" NavigateUrl="MDitem.aspx">察看表名称及字段代码</asp:HyperLink></P>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
