Export (0) Print
Expand All

DataSetViewSchema Class

Note: This class is new in the .NET Framework version 2.0.

Represents the structure, or schema, of a DataTable. This class cannot be inherited.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

public sealed class DataSetViewSchema : IDataSourceViewSchema
public final class DataSetViewSchema implements IDataSourceViewSchema
public final class DataSetViewSchema implements IDataSourceViewSchema

Use the DataSetViewSchema class to list the structure of data using a DataTable at design time. Use the GetFields method to get a list of information about each field as DataColumn objects.

The DataSetViewSchema class is used by custom control designer components to provide UI options to the user at design time that accurately reflect the structure of the data.

To examine the components of data using a DataSet, use the following classes.

System.Object
  System.Web.UI.Design.DataSetViewSchema

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show:
© 2014 Microsoft