title: Escaping quotes in a string in VB6
body: <p>I am trying to make some small changes to an old VB web app I need to add quotes inside of a string I've had no luck so far.  The string is </p>
  
  <pre><code>Dim sql As String = "Select * from  Usertask Where UserId = " &amp; Session("UserId") &amp; " and JobID=" &amp; ddlReqTask.SelectedValue
  </code></pre>
  
  <p>I need to add quotes around the Session("UserID") value. </p>