How to add rows in DataGrid ?
I am creating a webapp where there are 3 dropdownlists. The first two are statically populated while the 2nd is databound as per the selectedvalue in the 1st dropdownlist. The 3rd dropdownlist has two values and if either is selected a new row should be generated having the same controls ( i.e. the 3 dropdownlists ). I started by using a datagrid and all the three lists are itemtemplates. I can dynamically populate the 2nd ddl , but creating a new row is problematic. The solutions which I have found relate more to how to add a row to datasource and then bind it to the datagrid. But i think this does not solve my problem. Also, is using the datagrid the right choice in the first place ?