Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataSourceIDConverter Class

Creates a user-selectable list of data source names.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in

public class DataSourceIDConverter : TypeConverter
public class DataSourceIDConverter extends TypeConverter
public class DataSourceIDConverter extends TypeConverter
Not applicable.

The DataSourceIDConverter class is a TypeConverter object that is typically referenced by the TypeConverterAttribute attribute.

The data source names that are returned by the GetStandardValues method are of components from the container of the specified context that are valid data sources.

The GetStandardValuesExclusive method gets a value indicating whether the returned data source names are an exclusive list of possible values. The GetStandardValuesSupported method gets a value indicating whether the data source names are a standard set of values that can be picked from a list.

The ConvertFrom method converts the specified object to the native type of the converter. The CanConvertFrom method gets a value indicating whether this DataSourceIDConverter can convert an object in the specified source type to the native type.

The IsValidDataSource method indicates whether the specified component implements the IDataSource interface.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
© 2018 Microsoft