ds_staff+i这样就可以连接
ds_staff和i了?楼主具体说说要实现什么吧?

解决方案 »

  1.   

    这样提示ds_staff未定义
    我后面
    <% for i=0 to 4%>
      <td height="35" colspan="2">
      <table width="80%"  border="1" align="center" bordercolor="#FFFFFF" id="nb_staff<%=i%>" datasrc="#ds_staff<%=i%>" >
      <caption>
    <span class="style1" id="head_id_d"> </span>
      </caption>

      <tr>
    <td><span datafld="SpecsDesc"> </span></td>
      </tr>
        
      </table>
    </td>
    <%next%>
      

  2.   

    我要把a.xml,b.xml,c.xml内容放到
    ds_staff+i  里
      

  3.   

    这样我也测试过
          doc_s.load(mystr[i]);//这句提示 对象不支持此属性和方法