<%@ Page Title="" Language="C#" MasterPageFile="Step.Master" AutoEventWireup="true" CodeBehind="step4.aspx.cs" Inherits="Survery.admin.step4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">




 <table>
 <tr>
 <td  valign="top"  style=" width:200px; height:1000px; color:#ffffff; background-image:url(images/wrap_bg.jpg)">


<div class="side_bar">
		 
			<ul>
				<li >使用说明</li>
				<li>定义标题</li>
				<li>定义选项</li>
				<li>生成页面</li>
				<li class="currentitem">预览页面</li>
			</ul>
 
 </td>

<td valign="top">

<div style=" margin-left:50px; margin-top:20px;">


<b>恭喜你，你已经生成了Survey页面，请单击下面活动的Preview Page 链接进行查看</b><br /><br />

 <asp:GridView ID="GridView1" SkinID="gridviewSkin2" runat="server" AutoGenerateColumns="False" 
       AllowPaging="true"      DataKeyNames="treeid" DataSourceID="SqlDataSource1"  Width="500px" GridLines="None" 
            EmptyDataText="当前没有数据" 
          >
            <Columns>
            <asp:BoundField DataField="treeid" />
             <asp:HyperLinkField   Target="_blank"  DataNavigateUrlFields="treeid" DataTextField="title" DataNavigateUrlFormatString="../portal/appform.aspx?treeid={0}" />
         
             <asp:TemplateField >
             <ItemTemplate>
            
 <a href='../portal/appform.aspx?treeid=<%#Eval("treeid") %>' target="_blank"   style=" color:Maroon" >浏览页面</a>

              </ItemTemplate>
             
             </asp:TemplateField>
             
             
            </Columns>
        </asp:GridView>
 <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
            SelectCommand="SELECT [treeid], [title], [adddate] FROM [survery_defineactive] order by id desc" 
           >
         
        </asp:SqlDataSource>
        
        
<br /><br />
</div>
<div style=" text-align:right;  width:100%">
<a href="../default.aspx">完成</a>
</div>
</td>

 </tr>
 
 

 
 </table>
 
</asp:Content>
