DataSource对下列数据源有效
* DataTable
* DataView
* DataSet
* DataViewManager
* 任何实现 IListSource 接口的组件
* 任何实现 IList 接口的组件:可利用此特性进行每条记录数据的对象封装
如: list.Add(new Product {id = 1, name = "Melon", price = 12});
list.Add(new Product {id = 2,name = "Pear", price = 13});
list.Add(new Product {id = 3,name = "Milk", price = 14});
list.Add(new Product {id = 4,name = "Coca Cola", price = 15});
list.Add(new Product {id = 5,name = "Pepsi Cola", price = 16});
gv.DataSource = list;
gv.DataBind();