DekGenius.com
[ Team LiB ] Previous Section Next Section

DataSourceConverter

System.Web.UI.Design (system.design.dll)class

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
}

Hierarchy

System.Object System.ComponentModel.TypeConverter DataSourceConverter

    [ Team LiB ] Previous Section Next Section