This class provides a
System.ComponentModel.TypeConverter that can be
used to convert a string to a data source object and vice versa. You
will not need to access this class directly, unless you want to use
it for a custom ASP.NET control—in which case you can bind it
to the DataSource property by using the
System.ComponentModel.TypeConverterAttribute.
public class DataSourceConverter : System.ComponentModel.TypeConverter {
// Public Constructors
public DataSourceConverter( );
// Public Instance Methods
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, Type sourceType);
// overrides System.ComponentModel.TypeConverter
public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context,
System.Globalization.CultureInfo culture, object value);
// overrides System.ComponentModel.TypeConverter
public override StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context);
// overrides System.ComponentModel.TypeConverter
public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext context);
// overrides System.ComponentModel.TypeConverter
public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context);
// overrides System.ComponentModel.TypeConverter
}