TA貢獻1831條經驗 獲得超4個贊
建議在CS里判斷如果數(shù)據(jù)集為空時,將整個Repeater.Visible = true;隱藏。
TA貢獻2011條經驗 獲得超2個贊
<HeaderTemplate>
<table>
<th>/<th>th>/<th>
</HeaderTemplate>
把數(shù)據(jù)綁定,寫到<ItemTemplate>中。在<footTemplate>中寫</table>
直接這樣寫就ok了。有數(shù)據(jù)的時候顯示table,沒數(shù)據(jù)的時候。什么都沒有
舉報
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關注慕課網(wǎng)微信公眾號