I am trying to insert a button column into a datatable but it says that its an error. Any help pleasE?
ButtonColumn col = new ButtonColumn();
col.CommandName = "select";
col.ButtonType = ButtonColumnType.LinkButton;
col.HeaderText = "Edit";
dt.Columns.Add(col);
Add Buttoncolumn in DataTable its wired …thats not possible at all…
The DataTable DataColumn DataType property supports the following base .NET Framework data types:
Sample code to add coplumn