creating dynamic Styles

nouf

Member
Joined
May 23, 2003
Messages
9
hi
i am using asp.net with vb, and i need to know how i can creat a personal dynamic style,i take the attributes of the style from the DB(SQL 2000)
example in the DB their is
Mycolor="Red" -- string
isBold=1
MyFont="Tahoma" --string
MyFontSize="24" --string
and so,
till now the only one that worked was the font style using
[
dim myStyle as new style
myStyle.font.name=dr("myFont")

RowControl.applyStyle(myStyle)
]
the color and size..etc, didnt work

........ any1 knows how i can go about this??
 
Back
Top