0

我想创建一个动态表。下面你可以看到starsign之间必须是动态的。工厂名称(动态)=DAP1,TUP1,GEP3,PSP2
配置名称(动态)= KSROC,100ROC 关键数字名称(动态)= 最大容量,可用容量,加载级别,当然我希望它具有下面代码中提到的行跨度. 感谢您的帮助,我只是卡住了

<table class="table1">
         <thead>
             <tr>
                     <th>Config</th>
                     <th>Key Figure</th>
                     <th>*DAP1*</th>
                     <th>*TUP1*</th>
                     <th>*GEP3*</th>
                     <th>*PSP2*</th>
             </tr>
         </thead>        
             <tr>                     
                     <th rowspan="4">*KSROC*</th>                    
                     <tr>
                        <th>*Max Capacity*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>                   
                     </tr>
                     <tr>
                        <th>*Free Capacity*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>  
                     </tr>
                     <tr>
                        <th>*Loading Level*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>  
                     </tr>
             </tr>             

                     <th rowspan="4" >*100ROC*</th>
                     <tr>
                        <th>*Max Capacity*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>                   
                     </tr>
                     <tr>
                        <th>*Free Capacity*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>  
                     </tr>
                     <tr>
                        <th>*Loading Level*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>  
                     </tr>
             </tr>

     </table>
4

1 回答 1

0

您可以使用 asp.net Repeater,在本教程中有一个如何使用它的示例。

于 2012-10-02T09:42:38.460 回答