Class
CustomizableDataTable

Definition

Namespace:ArtOfTest.Common.Design.Data

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class CustomizableDataTable : DataTable, IComponent, IDisposable, IServiceProvider, IListSource, ISupportInitializeNotification, ISupportInitialize, IXmlSerializable, INotifyPropertyChanged, ISerializable

Inheritance: objectMarshalByValueComponentDataTableCustomizableDataTable

Implements: IComponentIDisposableIListSourceINotifyPropertyChangedISerializableIServiceProviderISupportInitializeISupportInitializeNotificationIXmlSerializable

Inherited Members DataTable.fInitInProgressDataTable.GetObjectData(SerializationInfo, StreamingContext)DataTable.BeginInit()DataTable.EndInit()DataTable.AcceptChanges()DataTable.CreateInstance()DataTable.Clone()DataTable.Copy()DataTable.Clear()DataTable.Compute(string, string)DataTable.GetChanges()DataTable.GetChanges(DataRowState)DataTable.GetErrors()DataTable.ImportRow(DataRow)DataTable.NewRow()DataTable.NewRowFromBuilder(DataRowBuilder)DataTable.GetRowType()DataTable.NewRowArray(int)DataTable.OnColumnChanging(DataColumnChangeEventArgs)DataTable.OnColumnChanged(DataColumnChangeEventArgs)DataTable.OnPropertyChanging(PropertyChangedEventArgs)DataTable.OnRemoveColumn(DataColumn)DataTable.OnRowChanged(DataRowChangeEventArgs)DataTable.OnRowChanging(DataRowChangeEventArgs)DataTable.OnRowDeleting(DataRowChangeEventArgs)DataTable.OnRowDeleted(DataRowChangeEventArgs)DataTable.OnTableCleared(DataTableClearEventArgs)DataTable.OnTableClearing(DataTableClearEventArgs)DataTable.OnTableNewRow(DataTableNewRowEventArgs)DataTable.RejectChanges()DataTable.Reset()DataTable.Select()DataTable.Select(string)DataTable.Select(string, string)DataTable.Select(string, string, DataViewRowState)DataTable.ToString()DataTable.BeginLoadData()DataTable.EndLoadData()DataTable.LoadDataRow(object[], bool)DataTable.LoadDataRow(object[], LoadOption)DataTable.Merge(DataTable)DataTable.Merge(DataTable, bool)DataTable.Merge(DataTable, bool, MissingSchemaAction)DataTable.Load(IDataReader)DataTable.Load(IDataReader, LoadOption)DataTable.Load(IDataReader, LoadOption, FillErrorEventHandler)DataTable.CreateDataReader()DataTable.WriteXml(Stream)DataTable.WriteXml(Stream, bool)DataTable.WriteXml(TextWriter)DataTable.WriteXml(TextWriter, bool)DataTable.WriteXml(XmlWriter)DataTable.WriteXml(XmlWriter, bool)DataTable.WriteXml(string)DataTable.WriteXml(string, bool)DataTable.WriteXml(Stream, XmlWriteMode)DataTable.WriteXml(Stream, XmlWriteMode, bool)DataTable.WriteXml(TextWriter, XmlWriteMode)DataTable.WriteXml(TextWriter, XmlWriteMode, bool)DataTable.WriteXml(XmlWriter, XmlWriteMode)DataTable.WriteXml(XmlWriter, XmlWriteMode, bool)DataTable.WriteXml(string, XmlWriteMode)DataTable.WriteXml(string, XmlWriteMode, bool)DataTable.WriteXmlSchema(Stream)DataTable.WriteXmlSchema(Stream, bool)DataTable.WriteXmlSchema(TextWriter)DataTable.WriteXmlSchema(TextWriter, bool)DataTable.WriteXmlSchema(XmlWriter)DataTable.WriteXmlSchema(XmlWriter, bool)DataTable.WriteXmlSchema(string)DataTable.WriteXmlSchema(string, bool)DataTable.ReadXml(Stream)DataTable.ReadXml(TextReader)DataTable.ReadXml(string)DataTable.ReadXml(XmlReader)DataTable.ReadXmlSchema(Stream)DataTable.ReadXmlSchema(TextReader)DataTable.ReadXmlSchema(string)DataTable.ReadXmlSchema(XmlReader)DataTable.GetDataTableSchema(XmlSchemaSet)DataTable.GetSchema()DataTable.ReadXmlSerializable(XmlReader)DataTable.CaseSensitiveDataTable.IsInitializedDataTable.RemotingFormatDataTable.ChildRelationsDataTable.ColumnsDataTable.ConstraintsDataTable.DataSetDataTable.DefaultViewDataTable.DisplayExpressionDataTable.ExtendedPropertiesDataTable.HasErrorsDataTable.LocaleDataTable.MinimumCapacityDataTable.ParentRelationsDataTable.PrimaryKeyDataTable.RowsDataTable.TableNameDataTable.NamespaceDataTable.PrefixDataTable.SiteDataTable.ColumnChangingDataTable.ColumnChangedDataTable.InitializedDataTable.RowChangedDataTable.RowChangingDataTable.RowDeletingDataTable.RowDeletedDataTable.TableClearingDataTable.TableClearedDataTable.TableNewRowMarshalByValueComponent.Dispose()MarshalByValueComponent.Dispose(bool)MarshalByValueComponent.GetService(Type)MarshalByValueComponent.EventsMarshalByValueComponent.ContainerMarshalByValueComponent.DesignModeMarshalByValueComponent.Disposed

Constructors

CustomizableDataTable()

Declaration

cs-api-definition
public CustomizableDataTable()

CustomizableDataTable(SerializationInfo, StreamingContext)

Declaration

cs-api-definition
public CustomizableDataTable(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

context

StreamingContext

CustomizableDataTable(Stream)

Declaration

cs-api-definition
public CustomizableDataTable(Stream stream)

Parameters

stream

Stream

CustomizableDataTable(int, int)

Declaration

cs-api-definition
public CustomizableDataTable(int columns, int rows)

Parameters

columns

int

rows

int

CustomizableDataTable(string)

Declaration

cs-api-definition
public CustomizableDataTable(string path)

Parameters

path

string

Properties

ErrorMessage

Declaration

cs-api-definition
public string ErrorMessage { get; set; }

Property Value

string

Methods

AddColumns(int)

Add columns to the data table.

Declaration

cs-api-definition
public void AddColumns(int count)

Parameters

count

int

The number of columns to add

AddRows(int)

Add rows to the datatable.

Declaration

cs-api-definition
public void AddRows(int count)

Parameters

count

int

The number of rows to add.

OnPropertyChangedEvent(string)

Declaration

cs-api-definition
protected void OnPropertyChangedEvent(string propertyName)

Parameters

propertyName

string

RemoveColumn(string)

Remove a specific column name.

Declaration

cs-api-definition
public void RemoveColumn(string columnName)

Parameters

columnName

string

The column name to remove.

RemoveColumns(int)

Remove a number of columns from this datatable starting from the end.

Declaration

cs-api-definition
public void RemoveColumns(int count)

Parameters

count

int

The number of columns to remove.

RemoveColumns(int, int)

Removes columns from the datatable.

Declaration

cs-api-definition
public void RemoveColumns(int startIndex, int count)

Parameters

startIndex

int

The start index

count

int

The number of columns to remove

RemoveRows(int)

Remove a set of rows from the end of the data table.

Declaration

cs-api-definition
public void RemoveRows(int count)

Parameters

count

int

RenameColumn(string, string)

Rename a column name.

Declaration

cs-api-definition
public void RenameColumn(string oldName, string newName)

Parameters

oldName

string

The old name.

newName

string

The new name.

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged