title: Getting a variable into the PostBackUrl of a LinkButton in a Gridview
body: <p>Can anyone tell me how to get this to work please? It is a LinkButton in a row in a Gridview (in an ItemTemplate)</p>
  
  <pre><code>&lt;asp:LinkButton ID="lbOrder" runat="server" PostBackUrl='EditOrder.aspx?OrderID=&lt;%# Eval("OrderID") %&gt;' Text='&lt;%# Eval("OrderID") %&gt;'&gt;&lt;/asp:LinkButton&gt;
  </code></pre>
  
  <p>It appears okay on screen. When I click it - the OrderID is not being passed.</p>
  
  <p>On the EditOrder page the querystring looks like:</p>
  
  <pre><code>http://mysite/Orders/OrderID.aspx?OrderID=&lt;%# Eval(\"OrderID\")%&gt;
  </code></pre>
  
  <p>I have tried plenty of permutations of single inverted commas and double inverted commas - but I can't get the OrderID to appear in the queryString correctly.</p>