Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dataTable = new DataTable();
- var columnSpec = new DataColumn();
- columSpec.DataType = typeof(decimal); // If it holds a decimal
- columSpec.ColumnName = "Interest Rate";
- dataTable.Columns.Add(columnSpec);
- dataGridView.DataSource = dataTable;
Add Comment
Please, Sign In to add comment