none
dropdownlist inside gridview RRS feed

  • Question

  • Hi

     I am having requirement where i am having gridview inside the gridview there are controls (dropdownlist).Now let say if my gridview display 10 rows of data then i will be having 10 dropdownlist controls on successive rows.If i select value from dropdownlist from  row 1 of gridview all successive dropdownlist value should be same as one from row 1 (for example :if i select country as USA on row 1 of gridview then all successive dropdown should populated with value as USA),

     Finally there will be single submit button which will do insert of all gridview data into db on single button click.

    Monday, September 24, 2012 4:27 PM

All replies

  • If the dropdownlist is supposed to have the same value for all rows, why not take it away from the grid?

    <dropdownlist here>

    <gridView here>

    Tuesday, September 25, 2012 1:47 PM