2011年3月26日 星期六

ASP.NET data binding

// data source: collections or database
// such as arraylist, array, set, database table, view.....

//ASP.NET 1.0
//controlName.DataSource = collectionName
//controlName.DataBind();

//advatage: no need to use for loop to insert element into html control

沒有留言: