J
jsubscribe
Hello,
I have following code in my ASP.NET webform..
<td nowrap align=center><%# DataBinder.Eval(Container, "DataItem.FLAG")
%></td>
Flag value could be either 'R' or 'P' - if its 'R' I want to print
'Rejected' in font Red and if its 'P' I want to print 'Processed' in
greeen.
Now I have been able to do this with <td nowrap align=center><%#
GETSTRING(DataBinder.Eval(Container, "DataItem.FLAG")) %></td>
but I just wanted to find out what are other ways to achive this? And
if what I did above is a good way to do it.
Thankx
AZXML
I have following code in my ASP.NET webform..
<td nowrap align=center><%# DataBinder.Eval(Container, "DataItem.FLAG")
%></td>
Flag value could be either 'R' or 'P' - if its 'R' I want to print
'Rejected' in font Red and if its 'P' I want to print 'Processed' in
greeen.
Now I have been able to do this with <td nowrap align=center><%#
GETSTRING(DataBinder.Eval(Container, "DataItem.FLAG")) %></td>
but I just wanted to find out what are other ways to achive this? And
if what I did above is a good way to do it.
Thankx
AZXML