List<string> myList = new List<string> { "text1", "text2", "text3", "text4", "text5", "text6", "text7", "text8" }; 我想把myList綁定到Repeater上。但是Repeater的每個Item要綁定兩項myList項。應(yīng)該怎么做?如:Repeater的第一項顯示為text1,text2
2 回答

互換的青春
TA貢獻1797條經(jīng)驗 獲得超6個贊
<asp:DataList ID="rptItem" runat="server" RepeatColumns="3" Width="100%" />
使用DataList直接搞定,為什么要用Repeater
- 2 回答
- 0 關(guān)注
- 242 瀏覽
添加回答
舉報
0/150
提交
取消