title: ASP.NET inline code within an inline style tag.
body: <p>ok, I'm trying to figure out how to put some data into an inline style.
  I want to read from a data source and build the URL for a background image of a <li></p>
  
  <pre><code>&lt;li style="background-image: url(http://www.domain.com/images/NameFromDataID.jpg);"&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I have tried to insert this inline code to insert the filename.</p>
  
  <pre><code>&lt;%# "commonName" + Eval("ID") + ".jpg" %&gt;
  </code></pre>
  
  <p>but it doesn't work...  I have an asp:ListView with many other things in it working, but I can't seem to figure out how to get the data into the li style...</p>
  
  <p>maybe I should be trying to build the entire style and then attach it to the li?</p>