A
anony
Hi,
I would like to find out if it's possible to check the value of a
Container.DataItem inside the Datagrid's <ItemTemplate> tag .... based on
it's value, I would to either output it or output another DataItem from the
current resultset. Something like this:
<ItemTemplate>
If container.dataitem( "column" ) <> "none" Then
output container.dataitem( "column" )
Else
output container.dataitem( "alternate column" )
</ItemTemplate>
My weakness is inline asp code using <%# %> or <% %>. I jumped straight
into asp.net without knowing classic asp, and I think it's hurting me in
this case! Thanks for any advice.
Brian
I would like to find out if it's possible to check the value of a
Container.DataItem inside the Datagrid's <ItemTemplate> tag .... based on
it's value, I would to either output it or output another DataItem from the
current resultset. Something like this:
<ItemTemplate>
If container.dataitem( "column" ) <> "none" Then
output container.dataitem( "column" )
Else
output container.dataitem( "alternate column" )
</ItemTemplate>
My weakness is inline asp code using <%# %> or <% %>. I jumped straight
into asp.net without knowing classic asp, and I think it's hurting me in
this case! Thanks for any advice.
Brian