System.Data.DataView
public class DataView : MarshalByValueComponent, ICollection, IEnumerable, IList, IBindingList, IBindingListView, ISupportInitialize, ISupportInitializeNotification, ITypedList
namespace System.Data
{
public class DataView : MarshalByValueComponent, ICollection, IEnumerable, IList, IBindingList, IBindingListView, ISupportInitialize, ISupportInitializeNotification, ITypedList
{
public bool AllowDelete { get; set; }
public bool AllowEdit { get; set; }
public bool AllowNew { get; set; }
public bool ApplyDefaultSort { get; set; }
public int Count { get; }
public DataViewManager DataViewManager { get; }
public bool IsInitialized { get; }
protected bool IsOpen { get; }
public DataRowView this[int recordIndex] { get; }
public virtual string RowFilter { get; set; }
public DataViewRowState RowStateFilter { get; set; }
public string Sort { get; set; }
object IList.this[int recordIndex] { get; set; }
public DataTable Table { get; set; }
public event EventHandler Initialized;
public event ListChangedEventHandler ListChanged;
public DataView();
public DataView(DataTable table);
public DataView(DataTable table, string RowFilter, string Sort, DataViewRowState RowState);
public virtual DataRowView AddNew();
public void BeginInit();
protected void Close();
protected virtual void ColumnCollectionChanged(object sender, CollectionChangeEventArgs e);
public void CopyTo(Array array, int index);
public void Delete(int index);
public void EndInit();
public virtual bool Equals(DataView view);
public int Find(object key);
public int Find(object[] key);
public DataRowView[] FindRows(object key);
public DataRowView[] FindRows(object[] key);
public IEnumerator GetEnumerator();
protected virtual void IndexListChanged(object sender, ListChangedEventArgs e);
protected virtual void OnListChanged(ListChangedEventArgs e);
protected void Open();
protected void Reset();
public DataTable ToTable();
public DataTable ToTable(bool distinct, params string[] columnNames);
public DataTable ToTable(string tableName);
public DataTable ToTable(string tableName, bool distinct, params string[] columnNames);
protected void UpdateIndex();
protected virtual void UpdateIndex(bool force);
}
}