I have a field where I want to show something. I want to display any value related to that row and if else
method becomes pretty long. I tried something like this:
<%#Eval("col1")??Eval("Col2")%>
It didn't work. Then I tried this:
<%#Eval("col1").ToString() ?? Eval("Col2").ToString()%>
It didn't work either. Am I doing something wrong or is it not possible this way?