wpf datatable column name can not have slash /
问题 I'm very new to WPF. I'm having a very weird issue to just make a table, here is the code I have: DataTable table = new DataTable(); table.Columns.Add("request/sec", typeof(string)); DataRow newRow = dataTable.NewRow(); newRow["request/sec", "na"); but it only shows a column name with "request/sec" and an empty row however, if I do: DataTable table = new DataTable(); table.Columns.Add("test(request/sec)", typeof(string)); DataRow newRow = dataTable.NewRow(); newRow["test(request/sec)", "na");