This class provides a
System.ComponentModel.TypeConverter that can be
used to convert a string to and from a data field. 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
appropriate property by using the
System.ComponentModel.TypeConverterAttribute.
public class DataFieldConverter : System.ComponentModel.TypeConverter {
// Public Constructors
public DataFieldConverter( );
// 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
}