日期:2014-05-17  浏览次数:20464 次

求助: webform 控件 布局

我在web form 上加了n个控件,貌似只能一列加一个控件,我想将几个控件 加在一列上,要怎么加或怎么调呢?

如下图将开始日期和截止日期涉及的4个控件放在一行上要怎么调整呢?



asp.net?c#? 布局 webform

------解决方案--------------------
<div>
        
        <asp:Button ID="Button1" runat="server" Text="Button" /><asp:Label ID="Label1" runat="server"
            Text="Label"></asp:Label><asp:Table ID="Table1" Text="Label" runat="server">
    </asp:Table>
    </div>
外面加一个div
------解决方案--------------------
XML/HTML code?123456 <div>                   <asp:Button ID="Button1" runat="server" Text="Button" /><asp:Label ID="Label1" runat="server"            Text="Label"></asp:Label><asp:Table ID="Table1" Text="Label" runat="server">     </asp:Table>     </div> 
外面加一个div