G
Guest
I have a Repeater control bound to a DataSet that creates a table with 6
columns. The text displayed in one of the columns may need to be set to grey
instead of black.
The DataSet is held and manipulated in a separate class "ResponseData.cs".
This class has a method ".getTextColor(int whichColumn)", which will return a
HEX value for the text color.
In JSP, a simple solution would have been to add inline code e.g.
style="color: <%= responseData.getTextColor(x) %>". How can I get to the
style attribute in the table the Repeater builds and set the text color in
ASP.Net (1.1)?
Thank you.
columns. The text displayed in one of the columns may need to be set to grey
instead of black.
The DataSet is held and manipulated in a separate class "ResponseData.cs".
This class has a method ".getTextColor(int whichColumn)", which will return a
HEX value for the text color.
In JSP, a simple solution would have been to add inline code e.g.
style="color: <%= responseData.getTextColor(x) %>". How can I get to the
style attribute in the table the Repeater builds and set the text color in
ASP.Net (1.1)?
Thank you.