I have a DataTable containing records. The table contains 2 columns - Questions and Type, so I want my GridView to have just these 2 columns. However,
If Type value of the Question is 1, I want to place a text box in Type column for that question.
If Type value of the Question is 2, I want to place a check box on so on.
For example, my grid should look similar to
Question4 RadioButtonList etc...
How could I do this dynamically in C#. Thanks in advance..