asp.net.ph

DataSet.DataSetName Property

System.Data Namespace   DataSet Class


Sets or retrieves the name of the current DataSet.

Syntax


Script DataSet.DataSetName [ = strName ]

Property Value


strName String specifying the name of the DataSet.

The property is read/write with no default value.

Example

The following example initializes a new DataSet with a given name, then shows the simplest way to retrieve and display the DataSetName.

DataSet myDataSet = new DataSet ( "SuppliersProducts" );
...
Response.Write ( myDataSet.DataSetName );
  C# VB

See Also

DataSet Members   DataSet Constructor Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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