Dynamic Creation of controls

Dynamic Creation of controls

Hi,

I have one master form where i create QuestionName Parent Question and Sub Question for Question Name.
Example :- QuestName:- XYZ
                  Parent Question:- Did You Came to Office
                  Sub Question for Above :- At What time you reach Office
                  Sub Question for Above :- How you came to office
For each Parent Question and Sub Question i will select control type like drop down, list box, text box etc.and values for control.

Like for Parent question  Parent Question:- Did You Came to Office i will enter control type as drop down and will enter values yes and No and same for sub question i can enter control type and values. and save in database

When i will save this above values.

I have one child page where i will select Question Name:- XYZ and after selecting question name i have to display all parent question and sub question with controls and values specified in master page.
Like  below
Did You Came to Office --"Drop Down should get display with save values"
At What time you reach Office--"Respective control should get display with saved values"
How you came to office-"Respective control should get display with saved values"

How i can achieve this in J query and knock out.

Please help with example.

Thanks,
Prashant