日期:2014-05-17 浏览次数:20517 次
public void Fill(int count,ArrayList sdf) { ArrayList ar = sdf; Model.stock stockInfo = null; for (int i = 0; i < ar.Count; i++) { stockInfo = Bll.Stock.GetStockByUUID(ar[i].ToString()); if (IsPostBack) { HtmlTextArea ht = new HtmlTextArea(); ht.ID ="stocs"; ht.Name = "hh" + i; ht.InnerText = stockInfo.remark; Panel1.Controls.Add(ht); } } }