Show / Hide Table of Contents

Class DataTableExtensions

DataTable extension method set the order of the columns in a datatable based upon the order of strings in an array

Inheritance
System.Object
DataTableExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GenerallyPositive
Assembly: GPAL.dll
Syntax
public static class DataTableExtensions

Methods

SetColumnsOrder(DataTable, String[])

Declaration
public static void SetColumnsOrder(this DataTable table, params string[] columnNames)
Parameters
Type Name Description
System.Data.DataTable table
System.String[] columnNames
In This Article
Back to top Generated by DocFX