asp.net.ph

DataSet.CaseSensitive Property

System.Data Namespace   DataSet Class


Sets or retrieves a value indicating whether string comparisons within DataTable objects are case-sensitive.

Syntax


Script DataSet.CaseSensitive [ = true | false ]

Property Value

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.

Remarks

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.

Example

The following example toggles the CaseSensitive property.

myDataSet.CaseSensitive = myDataSet.CaseSensitive Xor True
See Also

DataSet Members   CaseSensitive Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph