Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to generate WPF Forms on basis of sql columns at runtime

$
0
0

Hello everyone,

I am making an application in which i am asked that i should provide option to let the user decide which fields are to be there on New Employee Form. The fields which he decides should work further in the application. My logic for the same is that i will provide him an interface which will ask him to provide following details

a. Field Name

b. Field Type

c. Is Mandatory

he can add multiple fields and then i will generate a table that will contain all these fields as columns. but the problem is how will i generate the New Employee Form based on that table as it may have one field or 100. I have also to look that the layout does not goes weird. So please provide me some example or idea of how to solve this problem ASAP

Thanks

Vishal


Vishal Kumar Singh


Viewing all articles
Browse latest Browse all 18858

Trending Articles