M
Mortar
Hi,
I have a datalist which has a column with data from a database. I
would like the column to either show a textbox with the value of the
data field, or a button. The contol created would depend on the value
of the data field.
i.e. if data value < 10 then create textbox with value of data
else
create a button.
i can create the textbox easy enough within the ItemTemplate, but
creating either the textbox Or a button is where I need help
anyone?
I have a datalist which has a column with data from a database. I
would like the column to either show a textbox with the value of the
data field, or a button. The contol created would depend on the value
of the data field.
i.e. if data value < 10 then create textbox with value of data
else
create a button.
i can create the textbox easy enough within the ItemTemplate, but
creating either the textbox Or a button is where I need help
anyone?