how to create server side controls dynamically

Apr 5 2010 4:45 AM

hi my req is like this
in database i will have a talbe like this
s.no     controlname
1          Textbox
2           Dropdownlist
3.          Radiobutton
by reading the names of the server side controls from the database i have to create the server side controls runtime with a button click
if i change the order of serverside controls in the database then the order of server side contols to be created on aspx page must have to change
Means according to the table data the server side controls to be created dynamically
 
please help me on this

Answers (1)