Hello
Is it possible to perform an if else statement and a loop on an Eval?
In asp.old I used to bring information via a database and if else it
eg,
Is it possible to do this in C#?
I will also need to assign the value to a variable.
eg, in asp.old
Any ideas?
Thank you
Is it possible to perform an if else statement and a loop on an Eval?
In asp.old I used to bring information via a database and if else it
eg,
Code:
<% if rsName.Fields.Item("columnName").Value <>"" then
response.write("string goes in here")
end if%>
I will also need to assign the value to a variable.
eg, in asp.old
Code:
DIM var_ColumnContent = rsName.Fields.Item("columnName").Value
Thank you
Comment