Add a Dropdownlist dynamically to a Datagrid

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

Hi there,

I have a datagrid that allows the user to add new row to it. In these
rows I want to add a dropdownlist. How do I add a dropdownlist
programatically to a datagrid?

thanks,

Matt
 
Matt said:
Hi there,

I have a datagrid that allows the user to add new row to it. In these
rows I want to add a dropdownlist. How do I add a dropdownlist
programatically to a datagrid?

Where do you want to add it?
 
I want to add it to the row (in the first column). The first column
will have a dropdownlist of all products available, The second column
has a delete button. There is another button on the webform which
allows the user to add a row to the datagrid. Each row, the user can
select a different product. The whole idea of this is so that the user
can add as many products as they like to a booking.

the datagrid holds the product information.

cheers - matt
 
Back
Top