Gets or sets an instance of a class which implements the
System.Collections.IComparer interface in order to compare the column's data during grouping and sorting.
Property Value
A reference to a class that has the
System.Collections.IComparer interface.
The following example demonstrates how to set the DataComparer class to a new instance of a
System.Collections.CaseInsensitiveComparer class:
column.DataComparer = New CaseInsensitiveComparer()
column.DataComparer = new CaseInsensitiveComparer();
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2