只要实现了IListSource, IEnumerable, or IDataSource的对象都可以作为DataSource进行Binding
摘要:private void LoadListBox() { String[] arlTmp = {"aaa","bbb","ccc"}; ListBox1.DataSource = arlTmp; ListBox1.DataBind(); }Array也可以作为DataSource
阅读全文
posted @
2007-01-18 15:49
Kerry
阅读(419)
推荐(0)
EnableViewState对Table, TableRow, TableCell不起作用?
摘要:protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { return; } for (int i = 0;i<3;i++) { TableRow trTmp = new TableRow(); t...
阅读全文
posted @
2007-01-18 11:28
Kerry
阅读(327)
推荐(0)
我的博客开张了!
摘要:开张致禧!学习ASP.NET 2.0中...
阅读全文
posted @
2007-01-08 11:04
Kerry
阅读(106)
推荐(0)