J
John
Hi,
heres a brief description of what I'm trying to do.
I have a sql table named colors that looks like this:
color_id color_name
1 blue
2 red
3......... and so on
I created a composite custom control overode the
CreateChildControls method where I created a Datalist that
has one child control (a button). I want to bind the
color from my sql table to the button's foreground color
When I include this control into a aspx page i want to see
3 buttons (or as many buttons as I have colors in my
table). I'm having trouble with how to properly databind
to programatically databind to this datalist
programatically
thanks for the help
-J
heres a brief description of what I'm trying to do.
I have a sql table named colors that looks like this:
color_id color_name
1 blue
2 red
3......... and so on
I created a composite custom control overode the
CreateChildControls method where I created a Datalist that
has one child control (a button). I want to bind the
color from my sql table to the button's foreground color
When I include this control into a aspx page i want to see
3 buttons (or as many buttons as I have colors in my
table). I'm having trouble with how to properly databind
to programatically databind to this datalist
programatically
thanks for the help
-J