菜鸟问题,表格显示!!只有这么点分了,哪位好心的帮帮忙看下!!!
这个代码显示是二行九列的,我现在想要九行两列形式的,应该改动哪些?
<asp:DataList runat= "server " ID= "dl_member " CellPadding= "3 " Width= "100% " HorizontalAlign= "Center " DataKeyField= "userName " ExtractTemplateRows= "true " border= "2 ">
<headertemplate>
<asp:Table runat= "server " Width= "10 " >
<asp:TableRow runat= "server " HorizontalAlign= "Center ">
<asp:TableCell runat= "server " Width= "10% "> Name </asp:TableCell>
<asp:TableCell runat= "server " Width= "10% "> Country </asp:TableCell>
<asp:TableCell runat= "server " Width= "10% "> Address </asp:TableCell>
<asp:TableCell runat= "server " Width= "10% "> Company Name </asp:TableCell>
<asp:TableCell runat= "server " Width= "10% "> email </asp:TableCell>
<asp:TableCell runat= "server " Width= "10% "> telphone </asp:TableCell>
<asp:TableCell runat= "server " Width= "10% "> fax </asp:TableCell>
<asp:TableCell runat= "server " Width= "10% "> subject </asp:TableCell>
<asp:TableCell runat= "server " Width= "100% "> comments </asp:TableCell>
</asp:TableRow>
</asp:Table>
</headertemplate>
<itemtemplate>
<asp:Table runat= "server " Width= "10 ">
<asp:TableRow runat= "server " HorizontalAlign= "Center ">
<asp:TableCell runat= "server "> <%# Container.DataItem( "username ") %> </asp:TableCell>
<asp:TableCell runat= "server "> <%# Container.DataItem( "country ") %> </asp:TableCell>
<asp:TableCell runat= "server "> <%# Container.DataItem( "address ") %> </asp:TableCell>
<asp:TableCell runat= "server "> <%# Container.DataItem( "companyName ") %> </as