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




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