c# - Why cant bind data from cs to html style attribute? -


i created listview , pass info cs file item template. when pass information cs file item template checkbox gets it's value (rel='<%# eval("info") %>) label doesn't (backcolor='<%#eval("color")%>'). how make work?

<itemtemplate>       <tr>                                      <td>          <asp:checkbox id="checkbox1" rel='<%# eval("info") %>' runat="server" />          </td>          <td>          <asp:label id="colorlbl" runat="server" backcolor='<%#eval("color")%>'>&nbsp</asp:label>          </td>        </tr>  </itemtemplate> 


Comments

Popular posts from this blog

python - matpltolib navigation toolbar edit curves and parameters line color automatically changes issue -

node.js - Nodejs javascript implementation of PBEWithMD5AndTripleDES/CBC/PKCS5Padding -