阿杜007的工具箱 发表于 2012-10-25 23:59:07

分类管理模块-修改新闻分类(简单版本)

设计界面如下:
http://pic002.cnblogs.com/images/2012/347510/2012060822281094.jpg
HTML代码如下:
1 <body> 2 <form id="form1" runat="server"> 3   <div> 4    5         <table cellpadding="0" cellspacing="0" style="width: 100%"> 6             <tr> 7               <td style="width: 211px"> 8                     修改新闻分类</td> 9               <td colspan="2">10                     &nbsp;</td>11             </tr>12             <tr>13               <td rowspan="5" style="width: 211px">14                     <asp:TreeView ID="TreeView1" runat="server" ImageSet="Arrows" 15                         onselectednodechanged="TreeView1_SelectedNodeChanged">16                         <ParentNodeStyle Font-Bold="False" />17                         <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />18                         <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" 19                             HorizontalPadding="0px" VerticalPadding="0px" />20                         <NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" 21                             HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" />22                     </asp:TreeView>23               </td>24               <td colspan="2" style="text-align: center">25                     <asp:Label ID="lblMessage" runat="server"></asp:Label>26               </td>27             </tr>28             <tr>29               <td style="width: 166px; text-align: center">30                     ID</td>31               <td>32                     <asp:TextBox ID="txtClassID" runat="server"></asp:TextBox>33               </td>34             </tr>35             <tr>36               <td style="width: 166px; text-align: center">37                     分类名称:</td>38               <td>39                     <asp:TextBox ID="txtClassName" runat="server"></asp:TextBox>40               </td>41             </tr>42             <tr>43               <td style="width: 166px; text-align: center">44                     是否有子类:</td>45               <td>46                     <asp:RadioButtonList ID="rblLastNode" runat="server" 47                         RepeatDirection="Horizontal">48                         <asp:ListItem Selected="True" Value="1">是</asp:ListItem>49                         <asp:ListItem Value="0">否</asp:ListItem>50                     </asp:RadioButtonList>51               </td>52             </tr>53             <tr>54               <td style="width: 166px; height: 117px; text-align: center">55                     备注</td>56               <td style="height: 117px">57                     <asp:TextBox ID="txtExample" runat="server" Height="111px" TextMode="MultiLine" 58                         Width="241px"></asp:TextBox>59               </td>60             </tr>61             <tr>62               <td style="width: 211px">63                     &nbsp;</td>64               <td style="width: 166px">65                     &nbsp;</td>66               <td>67                     <asp:Button ID="btnUpdate" runat="server" onclick="btnUpdate_Click" 68                         Text="提交修改" />69               </td>70             </tr>71         </table>72   73   </div>74   </form>75 </body>
页: [1]
查看完整版本: 分类管理模块-修改新闻分类(简单版本)