日期:2014-05-20  浏览次数:20422 次

datalist怎么嵌套表格??
<form   id= "Form1 "   method= "post "   runat= "server ">
<TABLE   id= "Table1 "   style= "Z-INDEX:   101;   LEFT:   216px;   WIDTH:   448px;   POSITION:   absolute;   TOP:   24px;   HEIGHT:   272px "
cellSpacing= "0 "   cellPadding= "0 "   width= "448 "   border= "0 "   align= "center ">
<TR>
<TD   style= "HEIGHT:   46px ">
<asp:Label   id= "Label2 "   runat= "server "   Font-Bold= "True "> wenti: </asp:Label>
<asp:Label   id= "Label1 "   runat= "server "> Label </asp:Label> </TD>
</TR>
<TR>
<TD> <p> <FONT   face= "宋体 "   id= "FONT1 ">   </FONT>
<asp:DataList   id= "DataList1 "   DataKeyField= "id "   runat= "server "   BorderColor= "#3366CC "   BorderStyle= "None "
BackColor= "White "   CellPadding= "4 "   GridLines= "Both "   BorderWidth= "1px "   Width= "248px ">
<SelectedItemStyle   ForeColor= "#CCFF99 "   BackColor= "#009999 "> </SelectedItemStyle>
<AlternatingItemStyle   HorizontalAlign= "Left "   VerticalAlign= "Top "> </AlternatingItemStyle>
<FooterStyle   ForeColor= "#003399 "   BackColor= "#99CCCC "> </FooterStyle>
<ItemStyle   ForeColor= "#003399 "   BackColor= "White "> </ItemStyle>
<ItemTemplate>
ID号:
<asp:Label   ID= "idLabel "   runat= "server "   Text= ' <%#   DataBinder.Eval(Container.DataItem,   "id ")%> '>
</asp:Label> <br   />
姓名:
<asp:Label   ID= "nameLabel "   runat= "server "   Text= ' <%#   DataBinder.Eval(Container.DataItem,   "username ")%> '>
</asp:Label> <br   />
dep:
<asp:Label   ID= "depLabel "   runat= "server "   Text= ' <%#   DataBinder.Eval(Container.DataItem,   "userkind ")%> '>
</asp:Label> <br   />
wenti:
<asp:Label   ID= "wentilistLabel "   runat= "server "   Text= ' <%#   DataBinder.Eval(Container.DataItem,   "wenti ")%> '>
</asp:Label> <br   />
IP:
<asp:Label   ID= "ipaddressLabel "   runat= "server "   Text= ' <%#   DataBinder.Eval(Container.DataItem,   "ipaddress ")%> '>
</asp:Label> <br   />
status:
<asp:Label   ID= "chuliLabel "   runat= "server "   Text= ' <%#   DataBinder.Eval(Container.DataItem,   "status ")%> '>
</asp:Label> <br   />
sydate:
<asp:Label   ID= "sysdateLabel "   runat= "server "   Text= ' <%#   DataBinder.Eval(Container.DataItem,   "sysdate ")%> '>