Task is trivial - populate WPF Datagrid control with content of DB table using old good ADO.NET tools. DataGrid has AutoGenerateColumns property set to True, so I don't specify Columns collection in XAML. Everything works fine but there is one snag - DataGRid Column header displays a name of table column incorrectly. For example, all coluns are named with convention like "Prefix_Word1_Word2_Word3". Instead of that, column name in DataGrid ignores first underline symbol, so I can see smth like "PrefixWord1_Word2_Word3". This behavior appears for multiple tables with same naming convention across multiple DBs.
Any suggestions about who's responsible for this?
Added piece of columns header of DataGrid
TPA is a prefix is this case. Instead of TPAID I supposed to see TPA_ID and so on.