改变Datalist行背景色

// hfclient.Value = ds.Rows[0]["ImprotDate"].ToString();
//改变行背景色
//for (int i = 0; i < ClientChannel.Items.Count;i++ ) {
// Label lblName = ClientChannel.Items[i].FindControl("渠道") as Label;
// if (lblName.Text == "合计")
// {

// }
//}

原文地址:https://www.cnblogs.com/lacey/p/5242030.html