System.Data Namespace DataSet Class
Sets or retrieves a value indicating whether string comparisons within DataTable objects are case-sensitive.
Script |
DataSet.CaseSensitive [ = true | false ] |
This property accepts or returns only a boolean value: true if string comparisons are case-sensitive; otherwise, false.
The property is read/write with a default value of false.
The CaseSensitive property affects how sorting, searching, and filtering operations are performed on each DataTable contained in a DataSet when using the Select method .
By default, setting the CaseSensitive property for a DataSet also sets the CaseSensitive property of each associated DataTable to the same value.
The following example toggles the CaseSensitive property.
myDataSet.CaseSensitive = myDataSet.CaseSensitive Xor True
DataSet Members CaseSensitive