Dynamic Data Entry with WPF and LINQThis sample demonstrates how to dynamically generate XAML for WPF data entry forms directly from database tables. If the database schema changes, the code doesn't have to be recompiled. XML literals make this a snap.
Read the full articles on
my blog:
Dynamic UI with WPF and LINQThis article explores the fundamentals of dynamic XAML generation using XML literals.
Dynamic Data Entry with WPF and LINQThis article uses concepts from the first, but also adds the ability to dynamically edit any table in the database.
Download the codeYou will need the Northwind Database for this example