假设我们将 GridView 数据绑定到 ObjectDataSource 控件上,然后执行查询。
A) I realize displayed GridView fields are of type String, but does GridView also know of what type the underlying data source values are ( for particular GridView column )?
* Thus, if data source will populate GridView with bunch of integers, then these integers will have to be converted to strings, before they can be displayed in GridView. Which control will perform the conversion, GridView or ObjectDataSource/SqlDataSource control?
B) Regardless of whether GridView or ObjectDataSource performs a conversion, how is that conversion performed? Simply by calling ToString() on an object?
thanx