摘要:
1.放一个labelC#代码 DataTabletable=newDataTable(); repeater1.DataSource=table; repeater1.DataBind(); if(table.Rows.Count==0)//或者repAcctLedger.Items.Count==0 { label1.Text="暂无查询结果"; } else { label1.Text=""; }DataTable table = new DataTable(); repeater1.DataSource = table; repeater1.Dat 阅读全文