System.Data.DataSet.CaseSensitive Property

Gets or sets a value indicating whether string comparisons within System.Data.DataTable objects are case-sensitive.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool CaseSensitive { set; get; }

Value

true if string comparisons are case-sensitive, false otherwise. The default is false.

Remarks

The DataSet.CaseSensitive property affects how sorting, searching, and filtering operations are performed on each System.Data.DataTable object contained in a System.Data.DataSet when using the DataTable.Select method.

By default, setting the DataSet.CaseSensitive property for a System.Data.DataSet also sets the DataTable.CaseSensitive property of each associated System.Data.DataTable to the same value.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0