default.aspx

来自「水晶报表详细资料水晶报表详细资料水晶报表详细资料」· ASPX 代码 · 共 193 行

ASPX
193
字号
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    
</head>
<body>
    <form ID="Form1" runat="Server">
        <h3>MultiView控件与View控件</h3>
        <asp:Panel id="Page1ViewPanel" 
            Width="330px" 
            Height="150px"
            HorizontalAlign =Left
            Font-size="12" 
            BorderStyle="None"                     
            runat="Server" style="border-right: black 1px solid; border-top: black 1px solid; border-left: black 1px solid; border-bottom: black 1px solid">  
            <asp:MultiView id="MultiView1" ActiveViewIndex=0 runat="Server">
                <asp:View id="View1"  runat="Server">   
                    <div style="text-align: center">
                        <br />
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 164px; height: 125px">
                            <tr>
                                <td bgcolor="whitesmoke" height="15" style="width: 100px; text-align: left">
                    <asp:Label id="Page1Label" Font-bold="False"                         
                        Text="你最喜欢做的事?"
                        runat="Server" Font-Size="10pt" Width="158px"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="width: 100px; text-align: left">
                    <asp:RadioButton id="Page1Radio1"
                         Text="上网" 
                         Checked="False" 
                         GroupName="RadioGroup1" 
                         runat="server" Font-Size="10pt" >
                    </asp:RadioButton></td>
                            </tr>
                            <tr>
                                <td style="width: 100px; text-align: left">
                    <asp:RadioButton id="Page1Radio2"
                         Text="交友" 
                         Checked="False" 
                         GroupName="RadioGroup1" 
                         runat="server" Font-Size="10pt" >
                     </asp:RadioButton></td>
                            </tr>
                            <tr>
                                <td style="width: 100px; text-align: left">
                    <asp:Button id="Page1Next"
                        Text = "下一步"
                        OnClick="NextButton_Command"
                        Height="25"
                        Width="70"
                        runat= "Server">
                    </asp:Button></td>
                            </tr>
                        </table>
                    </div>
                    &nbsp;</asp:View>
                <asp:View id="View2" 
                    runat="Server">
                    <br />
                    <div style="text-align: center">
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 205px; height: 61px">
                            <tr>
                                <td bgcolor="whitesmoke" height="15" style="width: 100px">
                    <asp:Label id="Page2Label" 
                        Font-bold="False"
                        runat="Server" Font-Size="10pt" Width="200px">你最喜欢的季节?</asp:Label></td>
                            </tr>
                            <tr>
                                <td style="width: 100px; text-align: left">
                    <asp:RadioButton id="Page2Radio1"
                         Text="冬季" 
                         Checked="False" 
                         GroupName="RadioGroup1" 
                         runat="Server" Font-Size="10pt">
                     </asp:RadioButton></td>
                            </tr>
                            <tr>
                                <td style="width: 100px; text-align: left">
                    <asp:RadioButton id="Page2Radio2"
                         Text="夏季" 
                         Checked="False" 
                         GroupName="RadioGroup1" 
                         runat="Server" Font-Size="10pt">
                     </asp:RadioButton></td>
                            </tr>
                        </table>
                    </div>
                    <br />
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp;
                    <asp:Button id="Page2Back"
                        Text = "上一步"
                        OnClick="BackButton_Command"
                        Height="25"
                        Width="70"
                        runat= "Server">
                    </asp:Button> 
                    <asp:Button id="Page2Next"
                        Text = "下一步"
                        OnClick="NextButton_Command"
                        Height="25"
                        Width="70"
                        runat="Server">
                    </asp:Button><br />
                </asp:View>
                <asp:View id="View3" 
                    runat="Server">
                    <br />
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 119px; height: 92px">
                        <tr>
                            <td style="width: 100px; height: 19px; text-align: left">
                    <asp:Label id="Page3Label1" 
                        Font-bold="False"                        
                        Text= "你觉得最浪漫的事?"                        
                        runat="Server" Font-Size="10pt"></asp:Label></td>
                        </tr>
                        <tr>
                            <td style="width: 100px; text-align: left">
                   <asp:RadioButton id="Page3Radio1"
                         Text="雨中漫步" 
                         Checked="False" 
                         GroupName="RadioGroup1" 
                         runat="Server" Font-Size="10pt">
                     </asp:RadioButton></td>
                        </tr>
                        <tr>
                            <td style="width: 100px; text-align: left">
                    <asp:RadioButton id="Page3Radio2"
                         Text="一起看流星" 
                         Checked="False" 
                         GroupName="RadioGroup1" 
                         runat="Server" Font-Size="10pt">
                     </asp:RadioButton></td>
                        </tr>
                        <tr>
                            <td style="width: 100px; text-align: left">
                    <asp:RadioButton id="Page3Radio3"
                         Text="海边放出许愿瓶" 
                         Checked="False" 
                         GroupName="RadioGroup1" 
                         runat="Server" Font-Size="10pt">
                     </asp:RadioButton></td>
                        </tr>
                    </table>
                    <br />
                     <asp:Button id="Page3Back"
                        Text = "上一步"
                        OnClick="BackButton_Command"
                        Height="25"
                        Width="70"
                        runat="Server">
                   </asp:Button> 
                    <asp:Button id="Page3Next"
                        Text = "下一步"
                        OnClick="NextButton_Command"
                        Height="25"
                        Width="70"
                        runat="Server">
                    </asp:Button><br />
                </asp:View>     
                <asp:View id="View4"
                    runat="Server">
                    <br />
                    <br />
                    <asp:Label id="Label1"
                        Font-bold="False"                                           
                        Text = "非常感谢您参于本次调查."
                        runat="Server" Font-Size="10pt"></asp:Label>
                    <br><br><br>              
                    <asp:Button id="Page4Save"
                        Text = "保存"
                        OnClick="NextButton_Command"
                        Height="25"
                        Width="110"
                        runat="Server">
                    </asp:Button>
                    <asp:Button id="Page4Restart"
                        Text = "返回上一步"
                        OnClick="BackButton_Command"
                        Height="25"
                        Width="110"
                        runat= "Server">
                    </asp:Button>                    
                </asp:View>  
            </asp:MultiView>
        </asp:Panel> 
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?