asp.net控件开发基础(14)

  1.错误的代码,无法解析

  首先来看一段简单的代码

 正确
            
<ASP:Wizard ID="Wizard1" runat="server">
                
<WizardSteps>
                    
<ASP:WizardStep ID="WizardStep1" runat="server" Title="Step 1">
                        21212
</ASP:WizardStep>
                    
<ASP:WizardStep ID="WizardStep2" runat="server" Title="Step 2">
                    
</ASP:WizardStep>
                
</WizardSteps>
            
</ASP:Wizard>
            错误
            
<ASP:Wizard ID="Wizard2" runat="server">
                
<ASP:WizardStep ID="WizardStep1" runat="server" Title="Step 1">
                    21212
</ASP:WizardStep>
                
<ASP:WizardStep ID="WizardStep2" runat="server" Title="Step 2">
                
</ASP:WizardStep>
            
</ASP:Wizard>
            
<br />
            
<br />
            
<ASP:Label ID="Label1" runat="server" Text="Label">
                
<ASP:TextBox ID="TextBox2" runat="server"></ASP:TextBox>
            
</ASP:Label>
            
<br />
            
<ASP:TextBox ID="TextBox3" runat="server">12345</ASP:TextBox>
            
<br />
            
<ASP:Label ID="Label2" runat="server" Text="Label">12345</ASP:Label>
            
<br />
            
<br />
            
<ASP:TextBox ID="TextBox1" runat="server">
        
<ASP:Label runat="server" Text="Label"></ASP:Label>
            
</ASP:TextBox>

NET技术asp.net控件开发基础(14),转载需保留来源!

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。