Add a Buttoncolumn to a DataTable in its wired ... it's not possible at all ...
The DataTable DataColumn DataType property supports the following basic .NET Framework data types:
- Boolean
- Byte
- Char
- Datetime
- Decimal
- Double
- Int16
- Int32
- Int64
- Sbyte
- Single
- Line
- Timepan
- UInt16
- UInt32
- UInt64
Sample code to add coplumn
DataTable workTable = new DataTable("Customers");
DataColumn workCol = workTable.Columns.Add("CustID", typeof(Int32));
workCol.AllowDBNull = true;
source
share