Creating a dynamic CRUD UI in WPF

I am trying to make a simple application to test out some CRUD code that we have written. I want the data entry UI to be built dynamically from the object that is being entered.

For e.g If its an ICustomer object which has properties for Name, collection of IOrders and some more properties. The definitions for these interface exist in a separate dll.

Could you please suggest me a good approach to use for achieving this? I can think of using Reflection to dynamically create the UI (through code instead of XAML). Would that be a good practice?

Answers


You can use DataForm for WPF on CodePlex that behaves similar to DataForm from The Silverlight Toolkit.

It auto-generates a data-entry form when you bind an object to it.


Need Your Help

Move a UIView with my finger

ios uiview move touchesbegan

I'm trying to move a UIView (let's call it viewA), which is located on top of another UIView (let's call it viewB). viewB has the size of the iPad screen, and view A is much much smaller.

conn.setAutoCommit(true)

c# asp.net mysql

I used conn.setAutoCommit(true); in java, Sorry to ask this, its simple question but can't find answer on internet so asking here, How to achieve the same in asp.net c#, I am using MySql

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.