title: Giving the value of a query to a variable
body: <p>Help, I am using SQL Server as my database, and my back-end is VB.NET.</p>
  
  <p>I want to assign the value of this query: </p>
  
  <pre><code>SELECT sum(productPrice) from cartTbl
  </code></pre>
  
  <p>to a variable, and then give the value to a textbox called <code>totalPrice</code>.</p>
  
  <p>How do I perform this? Thank you in advance!</p>