我在做个管理系统,在网上下了个时间的控件。DateTimeBox.放好了位置,一个界面上放了4个。可是一运行这4个控件全跑左上角一排去了。怎么也搞不好,请高手们帮帮忙!!!怎么才可以把这几个控件按我原来的位置放好谢谢了

解决方案 »

  1.   

    <%@ Page language="c#" Codebehind="XiouGai.aspx.cs" AutoEventWireup="false" Inherits="LiXiang.XiouGai" %>
    <%@ Register TagPrefix="cc1" Namespace="ZL.WebControls.DateTimeBox" Assembly="ZL.WebControls.DateTimeBox" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD>
    <meta name="vs_snapToGrid" content="False">
    <meta name="vs_showGrid" content="True">
    <title>XiouGai</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 MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
    <asp:label id="Label1" style="Z-INDEX: 134; LEFT: 440px; POSITION: absolute; TOP: 24px" runat="server"
    Height="24px" Width="72px">修改页面</asp:label><asp:textbox id="XGEngi_comp_" style="Z-INDEX: 125; LEFT: 668px; POSITION: absolute; TOP: 71px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:textbox id="XGEngi_cont_no" style="Z-INDEX: 128; LEFT: 668px; POSITION: absolute; TOP: 146px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:textbox id="XGEngi_comp_no" style="Z-INDEX: 131; LEFT: 668px; POSITION: absolute; TOP: 180px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:textbox id="XGEngi_note" style="Z-INDEX: 132; LEFT: 668px; POSITION: absolute; TOP: 251px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:textbox id="XGEngi_aidance" style="Z-INDEX: 113; LEFT: 668px; POSITION: absolute; TOP: 217px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label2" style="Z-INDEX: 101; LEFT: 64px; POSITION: absolute; TOP: 72px" runat="server"
    Height="19px" Width="101px">工程编号(内):</asp:label><asp:textbox id="XGEngi_no1" style="Z-INDEX: 102; LEFT: 171px; POSITION: absolute; TOP: 71px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label3" style="Z-INDEX: 103; LEFT: 64px; POSITION: absolute; TOP: 111px" runat="server"
    Height="19px" Width="101px">工程编号(外):</asp:label><asp:textbox id="XGEngi_no2" style="Z-INDEX: 104; LEFT: 171px; POSITION: absolute; TOP: 111px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label4" style="Z-INDEX: 105; LEFT: 64px; POSITION: absolute; TOP: 147px" runat="server"
    Height="19px" Width="101px">工程名称:</asp:label><asp:textbox id="XGEngi_name" style="Z-INDEX: 106; LEFT: 171px; POSITION: absolute; TOP: 147px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label5" style="Z-INDEX: 107; LEFT: 64px; WIDTH: 101px; POSITION: absolute; TOP: 181px; HEIGHT: 19px"
    runat="server" Height="16px" Width="100px">合同签订日期:</asp:label><asp:label id="Label6" style="Z-INDEX: 108; LEFT: 64px; POSITION: absolute; TOP: 218px" runat="server"
    Height="19px" Width="101px">总决算:</asp:label><asp:textbox id="XGEngi_account" style="Z-INDEX: 109; LEFT: 171px; POSITION: absolute; TOP: 218px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label7" style="Z-INDEX: 110; LEFT: 64px; POSITION: absolute; TOP: 252px" runat="server"
    Height="19px" Width="101px">队别:</asp:label><asp:textbox id="XGEngi_staff" style="Z-INDEX: 111; LEFT: 171px; POSITION: absolute; TOP: 252px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label8" style="Z-INDEX: 112; LEFT: 552px; POSITION: absolute; TOP: 217px" runat="server"
    Height="19px" Width="106px">协助工程:</asp:label><asp:label id="Label9" style="Z-INDEX: 114; LEFT: 290px; POSITION: absolute; TOP: 77px" runat="server"
    Height="19px" Width="132px">承接方式:</asp:label><asp:textbox id="XGEngi_way" style="Z-INDEX: 115; LEFT: 432px; POSITION: absolute; TOP: 74px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label10" style="Z-INDEX: 116; LEFT: 290px; POSITION: absolute; TOP: 109px" runat="server"
    Height="19px" Width="132px">承接人:</asp:label><asp:textbox id="XGEngi_linkman" style="Z-INDEX: 117; LEFT: 432px; POSITION: absolute; TOP: 107px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label11" style="Z-INDEX: 118; LEFT: 290px; POSITION: absolute; TOP: 145px" runat="server"
    Height="19px" Width="132px">ISO评审单编号:</asp:label><asp:textbox id="XGEngi_iso_no" style="Z-INDEX: 119; LEFT: 432px; POSITION: absolute; TOP: 143px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label12" style="Z-INDEX: 120; LEFT: 290px; POSITION: absolute; TOP: 179px" runat="server"
    Height="19px" Width="132px">建设单位:</asp:label><asp:textbox id="XGEngi_client" style="Z-INDEX: 121; LEFT: 432px; POSITION: absolute; TOP: 177px"
    runat="server" Height="25px" Width="105px"></asp:textbox><asp:label id="Label13" style="Z-INDEX: 122; LEFT: 290px; POSITION: absolute; TOP: 216px" runat="server"
    Height="19px" Width="132px">开工日期:</asp:label><asp:label id="Label14" style="Z-INDEX: 123; LEFT: 290px; WIDTH: 132px; POSITION: absolute; TOP: 250px"
    runat="server" Height="19px" Width="131px">合同签订完成日期:</asp:label><asp:label id="Label15" style="Z-INDEX: 124; LEFT: 552px; POSITION: absolute; TOP: 81px" runat="server"
    Height="19px" Width="106px">完工标记:</asp:label><asp:label id="Label16" style="Z-INDEX: 126; LEFT: 552px; WIDTH: 106px; POSITION: absolute; TOP: 110px; HEIGHT: 19px"
    runat="server" Height="12px" Width="105">实际完工日期:</asp:label><asp:label id="Label17" style="Z-INDEX: 127; LEFT: 552px; POSITION: absolute; TOP: 146px" runat="server"
    Height="19px" Width="106px">合同编号:</asp:label><asp:label id="Label18" style="Z-INDEX: 129; LEFT: 552px; POSITION: absolute; TOP: 180px" runat="server"
    Height="19px" Width="106px">报竣信息编号:</asp:label><asp:label id="Label19" style="Z-INDEX: 130; LEFT: 552px; POSITION: absolute; TOP: 251px" runat="server"
    Height="19px" Width="106px">备注:</asp:label><asp:button id="Modify" style="Z-INDEX: 133; LEFT: 392px; POSITION: absolute; TOP: 319px" runat="server"
    Height="40px" Width="104px" Text="确定"></asp:button><cc1:datetimebox id="XGEngi_cont_date" style="Z-INDEX: 135; LEFT: 171px; POSITION: absolute; TOP: 181px"
    runat="server" Height="25px" Width="105px" ImageUrl="\LiXiang\DateTimeBox.gif"></cc1:datetimebox><cc1:datetimebox id="XGEngi_start_date" style="Z-INDEX: 136; LEFT: 432px; POSITION: absolute; TOP: 214px"
    runat="server" Height="25px" Width="105px" ImageUrl="\LiXiang\DateTimeBox.gif"></cc1:datetimebox><cc1:datetimebox id="XGEngi_deadline" style="Z-INDEX: 137; LEFT: 432px; POSITION: absolute; TOP: 248px"
    runat="server" Height="25px" Width="105px" ImageUrl="\LiXiang\DateTimeBox.gif"></cc1:datetimebox><cc1:datetimebox id="XGEngi_comp_date" style="Z-INDEX: 138; LEFT: 668px; POSITION: absolute; TOP: 110px"
    runat="server" Height="25" Width="105" ImageUrl="\LiXiang\DateTimeBox.gif"></cc1:datetimebox></form>
    </body>
    </HTML>