Greetings smart people of stackoverflow! I have this ListView with the following itemtemplate
<ItemTemplate>
<tr>
<td><%#Eval("abc_availablearea").ToString()%> </td>
<td><%#Eval("abc_classname").ToString() %> </td>
<td><%#Eval("abc_division").ToString() %> </td>
<td><%#Eval("abc_managername").ToString() %> </td>
</tr>
</ItemTemplate>
Now I am trying to use dynamic field names...so something like
<ItemTemplate>
<tr>
<td><%#Eval(fieldOne).ToString()%> </td>
<td><%#Eval(fieldTwo).ToString() %> </td>
<td><%#Eval(fieldThree).ToString() %> </td>
<td><%#Eval(fieldFour).ToString() %> </td>
</tr>
</ItemTemplate>
But it's not working for me. Anyone have an idea on how to do this? Thank you in advance for your help.