Select Page

.Net Entity Framework: Check if data changed

Problem DataSets offer a method “GetChanges()” to check if the user modified any data, so the application can ask the user if the changes should be saved, e.g. when closing the window. But there is no “ready-to-use” method for this when using...

WPF: Wrong culture formatting

Unfortunately, WPF does not apply certain localization settings automatically if the application is running e.g. on a german system. By default, the comma separator is an english “.” and not a “,”, etc. According to this site, you can run...

WPF for Beginners: Using Comboboxes in DataGrids

Scenario You have 2 simple MySQL / SQL / SQlite database tables like “customer” and “offer” with a foreign key relation between them (1 customer, * offers). You want to show the offer table in a DataGrid, and the “customer” column...