I have a datafield called type and it store the value of what kind of control it will use. For example, if the value is dropdownlist, I will create a dropdownlist for the user. And I am going to create a column that will create different control according to the value. If the value of current row is textbox, then this row is a textbox. Do you guys have any suggestion on how to implement it? I am thinking of template column, but I have no idea how to create the template column according to specific row.