SqlDataSourceView.CanSort 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示与当前SqlDataSourceView控件关联的对象是否SqlDataSource支持对检索的数据进行排序的视图。
public:
virtual property bool CanSort { bool get(); };
public override bool CanSort { get; }
member this.CanSort : bool
Public Overrides ReadOnly Property CanSort As Boolean
属性值
true如果支持排序,则为 ;否则,为 false.
注解
如果当前CanSort属性设置为true值并DataSourceMode设置该属性,则DataSet属性返回SortParameterName。