Hello,

I have datagrid with tamplate column. I bind dataset to it, with column named "Type".

I need to do this:

If type = "textbox" then put textbox in row, if Listbox, then listbox and so on.
Other logic I'll create my self.

I do not know how dynamicaly add controls to datagrid when binding.

Any ideas?