title: ASPx Display data in textbox from SQL source
body: <pre><code>&lt;asp:SqlDataSource ID="textdata" runat="server"
  ConnectionString="&lt;%$ ConnectionStrings:TextConnectionString %&gt;" 
  SelectCommand="SELECT SUM(pkNot) FROM [Not]"&gt;
      &lt;SelectParameters&gt;
            &lt;asp:ControlParameter ControlID="notTotal" Name="pkNot" PropertyName="Text" Type="String" /&gt;
      &lt;/SelectParameters&gt;
   &lt;/asp:SqlDataSource&gt;
  </code></pre>
  
  <p>And the textbox is:</p>
  
  <pre><code>&lt;asp:TextBox runat="server" ID="notTotal"&gt;&lt;/asp:TextBox&gt;
  </code></pre>
  
  <p>How can I get that value to show up in the textbox?  It's not working.</p>