G
Guest
I have a datagrid with 3 columns
Name quantity status
This grid is populated from a sqldatareader.
grid.datasource = datareader
grid.databind()
I now want to set the quantity column to a template column with a
dropdownlist. How can
I get the dropdownlist to be populated from the same sqldatareader but start
a count from 1 to the value of the
quantity field, so if the foll data is returned
testproduct 5 open
the dropdownlist will have
1
2
3
4
5
for the first row so on.
Thanks
Name quantity status
This grid is populated from a sqldatareader.
grid.datasource = datareader
grid.databind()
I now want to set the quantity column to a template column with a
dropdownlist. How can
I get the dropdownlist to be populated from the same sqldatareader but start
a count from 1 to the value of the
quantity field, so if the foll data is returned
testproduct 5 open
the dropdownlist will have
1
2
3
4
5
for the first row so on.
Thanks