D
djc
I'm finishing up my first attempt at an asp.net app. I know this question is
likely documented all over the place but I have a handful of things to
figure out in order to finish this up and now I'm under a time constraint...
so... I'm digging into a couple of things myself and posting a couple of
questions as well in order to get this done.
I need to conditionally display an icon in a datagrid column. The icon is
not the only item in the column. The column needs to display the data from a
database field (string data) and then an icon after that data based on the
data in another field.
"data from field1" Icon1
"data from field1" Icon1
"data from field1" Icon2
The condition in psuedo is like so:
-------------------------------
If field2 = "Value1" Then
show Icon1
ElseIf field2 = "Value2" Then
show Icon2
Else
Don't show any icon
---------------------------------
how/where would I do something like this? I really do hate asking things
that I know I can/should just lookup myself (like in Scott Mitchells book on
the data controls) but right now I just need some quick answers.
any info would be greatly appreciated. Thanks.
likely documented all over the place but I have a handful of things to
figure out in order to finish this up and now I'm under a time constraint...
so... I'm digging into a couple of things myself and posting a couple of
questions as well in order to get this done.
I need to conditionally display an icon in a datagrid column. The icon is
not the only item in the column. The column needs to display the data from a
database field (string data) and then an icon after that data based on the
data in another field.
"data from field1" Icon1
"data from field1" Icon1
"data from field1" Icon2
The condition in psuedo is like so:
-------------------------------
If field2 = "Value1" Then
show Icon1
ElseIf field2 = "Value2" Then
show Icon2
Else
Don't show any icon
---------------------------------
how/where would I do something like this? I really do hate asking things
that I know I can/should just lookup myself (like in Scott Mitchells book on
the data controls) but right now I just need some quick answers.
any info would be greatly appreciated. Thanks.