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

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -