Posted on: 2/5/2014 12:09:24 PM | Views : 617

Hi,
I am using VS 2012, C# and ASP.NET.
I have a List<string> which contains the internal name of the field ( example: txtbox1 ) 
I have a Dictionary<string, string> , which contains the display name and datatype ( example: display name: First Name , datatype: textbox) 
I need to create controls in this scenario -  The number of columns to be created depends on the count of items in the List<string>
How to create controls(example: if datatype is textbox, then need to create textbox) dynamically based on above condition?
Thanks

Go to the complete details ...