
686
|
Chapter 37: The System.Web.UI.Design Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
DataFieldConverter
System.Web.UI.Design (system.design.dll)
class
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.
Hierarchy
System.Object ➝ System.ComponentModel.TypeConverter ➝ DataFieldConverter
DataMemberConverter
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 database table name, 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 DataMember property by using the System.ComponentModel.
TypeConverterAttribute.
Hierarchy
System.Object ➝ System.ComponentModel.TypeConverter ➝ DataMemberConverter
public class DataFieldConverter : System.ComponentModel.TypeConverter {
// Public Constructors
public DataFieldConverter();
// Public Instance Methods
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context,
Type sourceType ...