title: Highlight the selected row in data list
body: <p>I have a DataList on ym web page, from which a user can choose a certain option within the DataList row.</p>
  
  <p>I use the <code>ItemCommand</code> of DataList for this. Actually, I want to highlight the selected row when the user clicks on the item in the row.</p>
  
  <pre><code>&lt;ItemTemplate&gt;
          &lt;tr&gt;
          &lt;td style="text-align:center"&gt;&lt;asp:LinkButton ID="Item" Text='&lt;%#Eval("Item")%&gt;' CommandName="select" runat="server" /&gt; &lt;br /&gt;&lt;/td&gt;
          &lt;td style="text-align:center"&gt;&lt;asp:Label ID="lbQuery" Text='&lt;%#Eval("Query")%&gt;' runat="server" /&gt;&lt;br /&gt; &lt;/td&gt;
          &lt;/tr&gt;
          &lt;/ItemTemplate&gt;
  </code></pre>
  
  <p>As shown above, the user can click on the LinkButton to choose an item. How do I highlight the corresponding row or only the cell?</p>