日期:2014-05-17 浏览次数:20449 次
protected void DataList1_ItemDataBound(object sender, DataListItemEventArgs e) { if (e.Item.ItemType == ListItemType.AlternatingItem || e.Item.ItemType == ListItemType.Item) { DataList DataList2 = e.Item.FindControl("DataList2") as DataList; DataList2.DataSource = "...读取数据"; DataList2.DataBind(); } }